Diff of the two buildlogs: -- --- b1/build.log 2024-01-06 23:40:55.429784719 +0000 +++ b2/build.log 2024-01-06 23:46:37.499240230 +0000 @@ -1,6 +1,7 @@ +W: cgroups are not available on the host, not using them. I: pbuilder: network access will be disabled during build -I: Current time: Sat Jan 6 11:32:01 -12 2024 -I: pbuilder-time-stamp: 1704583921 +I: Current time: Sat Feb 8 20:03:58 +14 2025 +I: pbuilder-time-stamp: 1738994638 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -17,7 +18,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.8N_yv3bj/trustedkeys.kbx': General error +gpgv: keyblock resource '/tmp/dpkg-verify-sig.c_VvoeMj/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 +35,79 @@ dpkg-source: info: applying 0005-Revert-import-github.com-urfave-cli-v2-to-github.com.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3201384/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1733530/tmp/hooks/D01_modify_environment starting +debug: Running on codethink03-arm64. +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 Feb 8 06:04 /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/1733530/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1733530/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="aarch64-unknown-linux-gnu") + 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=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=12 ' - DISTRIBUTION='bullseye' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bullseye + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='e0a211c2328e4c909cdf269b41779cf2' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='3201384' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + 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=1733530 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.599rsRDa/pbuilderrc_uEFW --distribution bullseye --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.599rsRDa/b1 --logfile b1/build.log mender-client_2.4.1-2.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.104:3128' + 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.599rsRDa/pbuilderrc_qxQm --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.599rsRDa/b2 --logfile b2/build.log mender-client_2.4.1-2.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.104:3128 I: uname -a - Linux codethink02-arm64 6.1.0-17-cloud-arm64 #1 SMP Debian 6.1.69-1 (2023-12-30) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-17-cloud-arm64 #1 SMP Debian 6.1.69-1 (2023-12-30) aarch64 GNU/Linux I: ls -l /bin total 5252 -rwxr-xr-x 1 root root 1282512 Mar 27 2022 bash @@ -136,7 +167,7 @@ -rwxr-xr-x 1 root root 43880 Sep 22 2020 rmdir -rwxr-xr-x 1 root root 19208 Sep 27 2020 run-parts -rwxr-xr-x 1 root root 114016 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Dec 7 09:24 sh -> dash + lrwxrwxrwx 1 root root 9 Feb 8 06:04 sh -> /bin/bash -rwxr-xr-x 1 root root 35656 Sep 22 2020 sleep -rwxr-xr-x 1 root root 72640 Sep 22 2020 stty -rwsr-xr-x 1 root root 67776 Jan 20 2022 su @@ -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/3201384/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/1733530/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 arm64 golang-golang-x-crypto-dev all 1:0.0~git20201221.eec23a3-1 [1538 kB] Get: 67 http://deb.debian.org/debian bullseye/main arm64 libglib2.0-0 arm64 2.66.8-1 [1286 kB] Get: 68 http://deb.debian.org/debian bullseye/main arm64 pkg-config arm64 0.29.2-1 [63.6 kB] -Fetched 101 MB in 1s (95.9 MB/s) +Fetched 101 MB in 1s (191 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 17734 files and directories currently installed.) @@ -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/1733530/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bullseye +I: user script /srv/workspace/pbuilder/1733530/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 @@ -620,167 +655,167 @@ -ldflags "-X github.com/mendersoftware/mender/conf.Version=2.4.1-2" cd obj-aarch64-linux-gnu && go install -trimpath -v -p 12 -ldflags "-X github.com/mendersoftware/mender/conf.Version=2.4.1-2" github.com/mendersoftware/mender github.com/mendersoftware/mender/app github.com/mendersoftware/mender/cli github.com/mendersoftware/mender/client github.com/mendersoftware/mender/client/test github.com/mendersoftware/mender/conf github.com/mendersoftware/mender/datastore github.com/mendersoftware/mender/device github.com/mendersoftware/mender/installer github.com/mendersoftware/mender/inventory github.com/mendersoftware/mender/log/syslog github.com/mendersoftware/mender/statescript github.com/mendersoftware/mender/store github.com/mendersoftware/mender/system github.com/mendersoftware/mender/system/testing github.com/mendersoftware/mender/tests github.com/mendersoftware/mender/utils internal/unsafeheader +internal/race internal/cpu runtime/internal/sys -internal/race +crypto/internal/subtle unicode +unicode/utf8 +math/bits sync/atomic -crypto/internal/subtle crypto/subtle -math/bits -encoding unicode/utf16 +runtime/internal/math runtime/internal/atomic vendor/golang.org/x/crypto/cryptobyte/asn1 -unicode/utf8 -internal/bytealg -runtime/internal/math internal/nettrace +encoding github.com/bmatsuo/lmdb-go/internal/lmdbarch -container/list +internal/testlog +internal/bytealg +runtime/cgo math +container/list vendor/golang.org/x/crypto/internal/subtle golang.org/x/sys/internal/unsafeheader -github.com/shurcooL/sanitized_anchor_name -runtime/cgo -internal/testlog runtime +github.com/shurcooL/sanitized_anchor_name internal/reflectlite sync -math/rand internal/singleflight +math/rand errors sort io -strconv internal/oserror vendor/golang.org/x/net/dns/dnsmessage +strconv syscall -bytes -strings hash crypto/internal/randutil +bytes text/tabwriter +strings hash/crc32 crypto/hmac vendor/golang.org/x/crypto/hkdf +vendor/golang.org/x/text/transform +golang.org/x/text/transform reflect crypto crypto/rc4 -golang.org/x/text/transform -vendor/golang.org/x/text/transform bufio +html github.com/mendersoftware/openssl/utils path regexp/syntax -html -internal/syscall/unix -time internal/syscall/execenv +internal/syscall/unix github.com/remyoudompheng/go-liblzma +time regexp -internal/poll context +internal/poll +os internal/fmtsort encoding/binary -os encoding/base64 -crypto/cipher +crypto/sha1 crypto/sha512 -crypto/ed25519/internal/edwards25519 +vendor/golang.org/x/crypto/poly1305 crypto/md5 -crypto/sha1 crypto/sha256 -vendor/golang.org/x/crypto/poly1305 golang.org/x/sys/unix +crypto/ed25519/internal/edwards25519 +crypto/cipher encoding/pem -crypto/aes -crypto/des -vendor/golang.org/x/crypto/chacha20 path/filepath +fmt +os/signal net runtime/debug -os/signal -fmt +crypto/des +vendor/golang.org/x/crypto/chacha20 +crypto/aes io/ioutil os/exec vendor/golang.org/x/crypto/chacha20poly1305 github.com/minio/sha256-simd github.com/mendersoftware/mender/system/testing -compress/flate -encoding/json encoding/hex -math/big -net/url +compress/flate log vendor/golang.org/x/crypto/curve25519 -vendor/golang.org/x/net/http2/hpack +math/big +encoding/json +net/url vendor/golang.org/x/text/unicode/norm +vendor/golang.org/x/net/http2/hpack mime mime/quotedprintable github.com/bmatsuo/lmdb-go/lmdb vendor/golang.org/x/text/unicode/bidi +compress/gzip net/http/internal github.com/pkg/errors github.com/davecgh/go-spew/spew github.com/pmezard/go-difflib/difflib -compress/gzip gopkg.in/yaml.v3 flag golang.org/x/text/unicode/bidi golang.org/x/text/unicode/norm golang.org/x/net/http2/hpack -os/user +github.com/sirupsen/logrus vendor/golang.org/x/text/secure/bidirule +github.com/stretchr/objx +os/user github.com/klauspost/compress/flate -github.com/ungerik/go-sysfs -github.com/russross/blackfriday/v2 -github.com/sirupsen/logrus vendor/golang.org/x/net/idna -github.com/stretchr/objx golang.org/x/text/secure/bidirule github.com/mendersoftware/mender-artifact/utils -golang.org/x/net/idna -text/template/parse +github.com/ungerik/go-sysfs +github.com/russross/blackfriday/v2 crypto/dsa crypto/elliptic encoding/asn1 crypto/rand -crypto/ed25519 -crypto/rsa github.com/mendersoftware/mender/system +golang.org/x/net/idna github.com/mendersoftware/mender/utils -github.com/cpuguy83/go-md2man/v2/md2man +crypto/ed25519 +crypto/rsa +text/template/parse +golang.org/x/term +runtime/trace github.com/klauspost/pgzip vendor/golang.org/x/crypto/cryptobyte crypto/x509/pkix -golang.org/x/term -runtime/trace testing -text/template +github.com/cpuguy83/go-md2man/v2/md2man golang.org/x/crypto/ssh/terminal crypto/ecdsa +text/template github.com/urfave/cli archive/tar -crypto/x509 -net/textproto -vendor/golang.org/x/net/http/httpproxy log/syslog +vendor/golang.org/x/net/http/httpproxy +net/textproto +crypto/x509 github.com/sirupsen/logrus/hooks/syslog +github.com/mendersoftware/mender/log/syslog vendor/golang.org/x/net/http/httpguts golang.org/x/net/http/httpguts mime/multipart -github.com/mendersoftware/mender/log/syslog -crypto/tls github.com/mendersoftware/mender-artifact/artifact +crypto/tls github.com/mendersoftware/mender-artifact/handlers github.com/mendersoftware/mender-artifact/areader github.com/mendersoftware/mender-artifact/awriter net/http/httptrace net/http -github.com/mendersoftware/openssl net/http/httptest golang.org/x/net/http2 +github.com/mendersoftware/openssl github.com/stretchr/testify/assert github.com/stretchr/testify/mock github.com/stretchr/testify/require @@ -874,31 +909,31 @@ main_test.go:48: Skip TestBinarySize test, non applicable on Debian build --- SKIP: TestBinarySize (0.00s) PASS -ok github.com/mendersoftware/mender 0.059s +ok github.com/mendersoftware/mender 0.023s === RUN TestNewAuthManager --- PASS: TestNewAuthManager (0.00s) === RUN TestAuthManager ---- PASS: TestAuthManager (2.43s) +--- PASS: TestAuthManager (0.61s) === RUN TestAuthManagerRequest ---- PASS: TestAuthManagerRequest (0.88s) +--- PASS: TestAuthManagerRequest (0.99s) === RUN TestAuthManagerResponse --- PASS: TestAuthManagerResponse (0.00s) === RUN TestDaemon -time="2024-01-06T23:36:36Z" level=info msg="State transition: init [none] -> init [none]" +time="2025-02-08T06:05:55Z" level=info msg="State transition: init [none] -> init [none]" --- PASS: TestDaemon (0.00s) === RUN TestDaemonCleanup daemon_test.go:182: PASS: Close() -time="2024-01-06T23:36:36Z" level=error msg="Failed to close data store: foo" +time="2025-02-08T06:05:55Z" 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 + daemon_test.go:239: poke count: 6 === RUN TestDaemonRun/testing_state_machine_interrupt_functionality_-_updateCheck_state -time="2024-01-06T23:39:07Z" level=info msg="Forcing state machine to: update-check" +time="2025-02-08T06:08:26Z" level=info msg="Forcing state machine to: update-check" === RUN TestDaemonRun/testing_state_machine_interrupt_functionality_-_inventoryUpdate_state -time="2024-01-06T23:39:08Z" level=info msg="Forcing state machine to: inventory-update" ---- PASS: TestDaemonRun (152.01s) +time="2025-02-08T06:08:27Z" level=info msg="Forcing state machine to: inventory-update" +--- PASS: TestDaemonRun (152.00s) --- PASS: TestDaemonRun/Testrun_daemon (150.00s) --- PASS: TestDaemonRun/testing_state_machine_interrupt_functionality_-_updateCheck_state (1.00s) --- PASS: TestDaemonRun/testing_state_machine_interrupt_functionality_-_inventoryUpdate_state (1.00s) @@ -907,481 +942,481 @@ === RUN TestLogManagerInit --- PASS: TestLogManagerInit (0.00s) === RUN TestLogManagerCheckEnableDisable -time="2024-01-06T23:39:08Z" level=info msg="Running Mender client version: unknown" +time="2025-02-08T06:08:27Z" level=info msg="Running Mender client version: unknown" --- PASS: TestLogManagerCheckEnableDisable (0.00s) === RUN TestLogManagerCheckLogging -time="2024-01-06T23:39:08Z" level=info msg="Running Mender client version: unknown" +time="2025-02-08T06:08:27Z" level=info msg="Running Mender client version: unknown" --- PASS: TestLogManagerCheckLogging (0.00s) === RUN TestLogManagerLogRotation -time="2024-01-06T23:39:08Z" level=info msg="Running Mender client version: unknown" -time="2024-01-06T23:39:08Z" level=info msg="Running Mender client version: unknown" +time="2025-02-08T06:08:27Z" level=info msg="Running Mender client version: unknown" +time="2025-02-08T06:08:27Z" level=info msg="Running Mender client version: unknown" --- PASS: TestLogManagerLogRotation (0.00s) === RUN TestEnabligLogsNoSpceForStoringLogs --- PASS: TestEnabligLogsNoSpceForStoringLogs (0.00s) === RUN TestDeploymentLoggingHook -time="2024-01-06T23:39:08Z" level=info msg=test1 -time="2024-01-06T23:39:08Z" level=info msg="Running Mender client version: unknown" -time="2024-01-06T23:39:08Z" level=debug msg=test2 -time="2024-01-06T23:39:08Z" level=info msg=test3 -time="2024-01-06T23:39:08Z" level=info msg="{\"level\":\"info\",\"message\":\"Running Mender client version: unknown\",\"timestamp\":\"2024-01-06T23:39:08Z\"}\n{\"level\":\"debug\",\"message\":\"test2\",\"timestamp\":\"2024-01-06T23:39:08Z\"}\n" +time="2025-02-08T06:08:27Z" level=info msg=test1 +time="2025-02-08T06:08:27Z" level=info msg="Running Mender client version: unknown" +time="2025-02-08T06:08:27Z" level=debug msg=test2 +time="2025-02-08T06:08:27Z" level=info msg=test3 +time="2025-02-08T06:08:27Z" level=info msg="{\"level\":\"info\",\"message\":\"Running Mender client version: unknown\",\"timestamp\":\"2025-02-08T06:08:27Z\"}\n{\"level\":\"debug\",\"message\":\"test2\",\"timestamp\":\"2025-02-08T06:08:27Z\"}\n" --- PASS: TestDeploymentLoggingHook (0.00s) === RUN TestGetLogs -time="2024-01-06T23:39:08Z" level=info msg="Running Mender client version: unknown" +time="2025-02-08T06:08:27Z" level=info msg="Running Mender client version: unknown" --- PASS: TestGetLogs (0.00s) === RUN TestFindLogFiles --- PASS: TestFindLogFiles (0.00s) === RUN TestMenderError --- PASS: TestMenderError (0.00s) === RUN Test_getArtifactName_noArtifactNameInFile_returnsEmptyName -time="2024-01-06T23:39:08Z" level=debug msg="Private key does not exist" -time="2024-01-06T23:39:08Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-06T23:39:08Z" level=debug msg="Returning artifact name from artifact_info file." -time="2024-01-06T23:39:08Z" level=debug msg="Reading data from the device manifest file: artifact_info" +time="2025-02-08T06:08:27Z" level=debug msg="Private key does not exist" +time="2025-02-08T06:08:27Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2025-02-08T06:08:27Z" level=debug msg="Returning artifact name from artifact_info file." +time="2025-02-08T06:08:27Z" level=debug msg="Reading data from the device manifest file: artifact_info" --- PASS: Test_getArtifactName_noArtifactNameInFile_returnsEmptyName (0.00s) === RUN Test_getArtifactName_malformedArtifactNameLine_returnsError -time="2024-01-06T23:39:08Z" level=debug msg="Private key does not exist" -time="2024-01-06T23:39:08Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-06T23:39:08Z" level=debug msg="Returning artifact name from artifact_info file." -time="2024-01-06T23:39:08Z" level=debug msg="Reading data from the device manifest file: artifact_info" -time="2024-01-06T23:39:08Z" level=debug msg=artifact_name -time="2024-01-06T23:39:08Z" level=error msg="Broken device manifest file: ([artifact_name])" +time="2025-02-08T06:08:27Z" level=debug msg="Private key does not exist" +time="2025-02-08T06:08:27Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2025-02-08T06:08:27Z" level=debug msg="Returning artifact name from artifact_info file." +time="2025-02-08T06:08:27Z" level=debug msg="Reading data from the device manifest file: artifact_info" +time="2025-02-08T06:08:27Z" level=debug msg=artifact_name +time="2025-02-08T06:08:27Z" level=error msg="Broken device manifest file: ([artifact_name])" --- PASS: Test_getArtifactName_malformedArtifactNameLine_returnsError (0.00s) === RUN Test_getArtifactName_haveArtifactName_returnsName -time="2024-01-06T23:39:08Z" level=debug msg="Private key does not exist" -time="2024-01-06T23:39:08Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-06T23:39:08Z" level=debug msg="Returning artifact name from artifact_info file." -time="2024-01-06T23:39:08Z" level=debug msg="Reading data from the device manifest file: artifact_info" -time="2024-01-06T23:39:08Z" level=debug msg="artifact_name=mender-image" -time="2024-01-06T23:39:08Z" level=debug msg="Current manifest data: mender-image" +time="2025-02-08T06:08:27Z" level=debug msg="Private key does not exist" +time="2025-02-08T06:08:27Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2025-02-08T06:08:27Z" level=debug msg="Returning artifact name from artifact_info file." +time="2025-02-08T06:08:27Z" level=debug msg="Reading data from the device manifest file: artifact_info" +time="2025-02-08T06:08:27Z" level=debug msg="artifact_name=mender-image" +time="2025-02-08T06:08:27Z" level=debug msg="Current manifest data: mender-image" --- PASS: Test_getArtifactName_haveArtifactName_returnsName (0.00s) === RUN Test_ForceBootstrap -time="2024-01-06T23:39:08Z" level=debug msg="Private key does not exist" -time="2024-01-06T23:39:08Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-06T23:39:08Z" level=debug msg="Needs keys" -time="2024-01-06T23:39:08Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2024-01-06T23:39:09Z" level=info msg="Device keys not present or bootstrap forced, generating" ---- PASS: Test_ForceBootstrap (1.27s) +time="2025-02-08T06:08:27Z" level=debug msg="Private key does not exist" +time="2025-02-08T06:08:27Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2025-02-08T06:08:27Z" level=debug msg="Needs keys" +time="2025-02-08T06:08:27Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2025-02-08T06:08:28Z" level=info msg="Device keys not present or bootstrap forced, generating" +--- PASS: Test_ForceBootstrap (2.58s) === RUN Test_Bootstrap -time="2024-01-06T23:39:09Z" level=debug msg="Private key does not exist" -time="2024-01-06T23:39:09Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-06T23:39:09Z" level=debug msg="Needs keys" -time="2024-01-06T23:39:09Z" level=debug msg="Needs keys" -time="2024-01-06T23:39:09Z" level=info msg="Device keys not present or bootstrap forced, generating" ---- PASS: Test_Bootstrap (0.65s) +time="2025-02-08T06:08:30Z" level=debug msg="Private key does not exist" +time="2025-02-08T06:08:30Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2025-02-08T06:08:30Z" level=debug msg="Needs keys" +time="2025-02-08T06:08:30Z" level=debug msg="Needs keys" +time="2025-02-08T06:08:30Z" level=info msg="Device keys not present or bootstrap forced, generating" +--- PASS: Test_Bootstrap (0.34s) === RUN Test_BootstrappedHaveKeys -time="2024-01-06T23:39:10Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" ---- PASS: Test_BootstrappedHaveKeys (0.37s) +time="2025-02-08T06:08:30Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +--- PASS: Test_BootstrappedHaveKeys (0.45s) === RUN Test_BootstrapError -time="2024-01-06T23:39:10Z" level=error msg="Failed to load device keys: disabled" -time="2024-01-06T23:39:10Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-06T23:39:10Z" level=error msg="Error loading authentication for HTTP client: fatal error: failed to cache authorization code: failed to read auth token data: disabled" -time="2024-01-06T23:39:10Z" level=debug msg="Private key does not exist" -time="2024-01-06T23:39:10Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-06T23:39:10Z" level=debug msg="Needs keys" -time="2024-01-06T23:39:10Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2024-01-06T23:39:11Z" level=error msg="Failed to save device key: read only" ---- PASS: Test_BootstrapError (0.82s) +time="2025-02-08T06:08:30Z" level=error msg="Failed to load device keys: disabled" +time="2025-02-08T06:08:30Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2025-02-08T06:08:30Z" level=error msg="Error loading authentication for HTTP client: fatal error: failed to cache authorization code: failed to read auth token data: disabled" +time="2025-02-08T06:08:30Z" level=debug msg="Private key does not exist" +time="2025-02-08T06:08:30Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2025-02-08T06:08:30Z" level=debug msg="Needs keys" +time="2025-02-08T06:08:30Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2025-02-08T06:08:30Z" level=error msg="Failed to save device key: read only" +--- PASS: Test_BootstrapError (0.15s) === RUN Test_CheckUpdateSimple -time="2024-01-06T23:39:11Z" level=debug msg="Private key does not exist" -time="2024-01-06T23:39:11Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-06T23:39:11Z" level=debug msg="Returning artifact name from file." -time="2024-01-06T23:39:11Z" level=error msg="could not get the current Artifact name" -time="2024-01-06T23:39:11Z" level=debug msg="Private key does not exist" -time="2024-01-06T23:39:11Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-06T23:39:11Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-228310130/artifact_info file." -time="2024-01-06T23:39:11Z" level=error msg="could not get the current Artifact name" -time="2024-01-06T23:39:11Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-228310130/artifact_info file." -time="2024-01-06T23:39:11Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-228310130/artifact_info" -time="2024-01-06T23:39:11Z" level=debug msg="artifact_name=fake-id" -time="2024-01-06T23:39:11Z" level=debug msg="Current manifest data: fake-id" -time="2024-01-06T23:39:11Z" level=debug msg="DEVICE_TYPE=hammer" -time="2024-01-06T23:39:11Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-228310130/artifact_info file." -time="2024-01-06T23:39:11Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-228310130/artifact_info" -time="2024-01-06T23:39:11Z" level=debug msg="artifact_name=fake-id" -time="2024-01-06T23:39:11Z" level=debug msg="Current manifest data: fake-id" -time="2024-01-06T23:39:11Z" level=debug msg="DEVICE_TYPE=hammer" -time="2024-01-06T23:39:11Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-228310130/device_type" -time="2024-01-06T23:39:11Z" level=debug msg="device_type=hammer" -time="2024-01-06T23:39:11Z" level=debug msg="Current manifest data: hammer" -time="2024-01-06T23:39:11Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[50] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x4000676040 50 [] false 127.0.0.1:42377 map[] map[] map[] 127.0.0.1:32900 /api/devices/v1/deployments/device/deployments/next 0x4000676080}" -time="2024-01-06T23:39:11Z" level=debug msg="device provides not accepted by the server. Response code: 400" -time="2024-01-06T23:39:11Z" level=info msg="got update request &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:42377 map[] map[] map[] 127.0.0.1:32910 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0x4000676380}" -time="2024-01-06T23:39:11Z" level=info msg="Valid update request GET: &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:42377 map[] map[] map[] 127.0.0.1:32910 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0x4000676380}" -time="2024-01-06T23:39:11Z" level=info msg="parsed URL query: map[artifact_name:[fake-id] device_type:[hammer]]" -time="2024-01-06T23:39:11Z" level=debug msg="Received response:200 OK" -time="2024-01-06T23:39:11Z" level=debug msg="Have update available" -time="2024-01-06T23:39:11Z" level=info msg="Correct request for getting image from: http://127.0.0.1:42377/download [name: fake-id; devices: [vexpress]]" -time="2024-01-06T23:39:11Z" level=debug msg="Received update response: {{{http://127.0.0.1:42377/download } [vexpress] [] fake-id map[]} foo [] 0 false}" -time="2024-01-06T23:39:11Z" level=info msg="Attempting to upgrade to currently installed artifact name, not performing upgrade." -time="2024-01-06T23:39:11Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-228310130/artifact_info file." -time="2024-01-06T23:39:11Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-228310130/artifact_info" -time="2024-01-06T23:39:11Z" level=debug msg="artifact_name=fake-id" -time="2024-01-06T23:39:11Z" level=debug msg="Current manifest data: fake-id" -time="2024-01-06T23:39:11Z" level=debug msg="DEVICE_TYPE=hammer" -time="2024-01-06T23:39:11Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-228310130/device_type" -time="2024-01-06T23:39:11Z" level=debug msg="device_type=hammer" -time="2024-01-06T23:39:11Z" level=debug msg="Current manifest data: hammer" -time="2024-01-06T23:39:11Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[50] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x4000676a80 50 [] false 127.0.0.1:42377 map[] map[] map[] 127.0.0.1:32910 /api/devices/v1/deployments/device/deployments/next 0x4000676ac0}" -time="2024-01-06T23:39:11Z" level=debug msg="device provides not accepted by the server. Response code: 400" -time="2024-01-06T23:39:11Z" level=info msg="got update request &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:42377 map[] map[] map[] 127.0.0.1:32918 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0x4000408080}" -time="2024-01-06T23:39:11Z" level=info msg="Valid update request GET: &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:42377 map[] map[] map[] 127.0.0.1:32918 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0x4000408080}" -time="2024-01-06T23:39:11Z" level=info msg="parsed URL query: map[artifact_name:[fake-id] device_type:[hammer]]" -time="2024-01-06T23:39:11Z" level=debug msg="Received response:200 OK" -time="2024-01-06T23:39:11Z" level=debug msg="Have update available" -time="2024-01-06T23:39:11Z" level=info msg="Correct request for getting image from: http://127.0.0.1:42377/download [name: fake-id-fake; devices: [vexpress]]" -time="2024-01-06T23:39:11Z" level=debug msg="Received update response: {{{http://127.0.0.1:42377/download } [vexpress] [] fake-id-fake map[]} foo [] 0 false}" -time="2024-01-06T23:39:11Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-228310130/artifact_info file." -time="2024-01-06T23:39:11Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-228310130/artifact_info" -time="2024-01-06T23:39:11Z" level=debug msg="artifact_name=fake-id" -time="2024-01-06T23:39:11Z" level=debug msg="Current manifest data: fake-id" -time="2024-01-06T23:39:11Z" level=debug msg="DEVICE_TYPE=hammer" -time="2024-01-06T23:39:11Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-228310130/device_type" -time="2024-01-06T23:39:11Z" level=debug msg="device_type=hammer" -time="2024-01-06T23:39:11Z" level=debug msg="Current manifest data: hammer" -time="2024-01-06T23:39:11Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[50] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x40004081c0 50 [] false 127.0.0.1:42377 map[] map[] map[] 127.0.0.1:32918 /api/devices/v1/deployments/device/deployments/next 0x4000408200}" -time="2024-01-06T23:39:11Z" level=debug msg="device provides not accepted by the server. Response code: 400" -time="2024-01-06T23:39:11Z" level=info msg="got update request &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:42377 map[] map[] map[] 127.0.0.1:32924 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0x4000020f80}" -time="2024-01-06T23:39:11Z" level=info msg="Valid update request GET: &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:42377 map[] map[] map[] 127.0.0.1:32924 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0x4000020f80}" -time="2024-01-06T23:39:11Z" level=info msg="parsed URL query: map[artifact_name:[fake-id] device_type:[hammer]]" -time="2024-01-06T23:39:11Z" level=debug msg="Received response:204 No Content" -time="2024-01-06T23:39:11Z" level=debug msg="No update available" -time="2024-01-06T23:39:11Z" level=debug msg="no updates available" ---- PASS: Test_CheckUpdateSimple (0.04s) +time="2025-02-08T06:08:30Z" level=debug msg="Private key does not exist" +time="2025-02-08T06:08:30Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2025-02-08T06:08:30Z" level=debug msg="Returning artifact name from file." +time="2025-02-08T06:08:30Z" level=error msg="could not get the current Artifact name" +time="2025-02-08T06:08:30Z" level=debug msg="Private key does not exist" +time="2025-02-08T06:08:30Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2025-02-08T06:08:30Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-273535460/artifact_info file." +time="2025-02-08T06:08:30Z" level=error msg="could not get the current Artifact name" +time="2025-02-08T06:08:30Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-273535460/artifact_info file." +time="2025-02-08T06:08:30Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-273535460/artifact_info" +time="2025-02-08T06:08:30Z" level=debug msg="artifact_name=fake-id" +time="2025-02-08T06:08:30Z" level=debug msg="Current manifest data: fake-id" +time="2025-02-08T06:08:30Z" level=debug msg="DEVICE_TYPE=hammer" +time="2025-02-08T06:08:30Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-273535460/artifact_info file." +time="2025-02-08T06:08:30Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-273535460/artifact_info" +time="2025-02-08T06:08:30Z" level=debug msg="artifact_name=fake-id" +time="2025-02-08T06:08:30Z" level=debug msg="Current manifest data: fake-id" +time="2025-02-08T06:08:30Z" level=debug msg="DEVICE_TYPE=hammer" +time="2025-02-08T06:08:30Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-273535460/device_type" +time="2025-02-08T06:08:30Z" level=debug msg="device_type=hammer" +time="2025-02-08T06:08:30Z" level=debug msg="Current manifest data: hammer" +time="2025-02-08T06:08:30Z" 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]] 0x40005a00c0 50 [] false 127.0.0.1:40811 map[] map[] map[] 127.0.0.1:32998 /api/devices/v1/deployments/device/deployments/next 0x40005a0100}" +time="2025-02-08T06:08:30Z" level=debug msg="device provides not accepted by the server. Response code: 400" +time="2025-02-08T06:08:30Z" 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:40811 map[] map[] map[] 127.0.0.1:33010 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0x4000020240}" +time="2025-02-08T06:08:30Z" 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:40811 map[] map[] map[] 127.0.0.1:33010 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0x4000020240}" +time="2025-02-08T06:08:30Z" level=info msg="parsed URL query: map[artifact_name:[fake-id] device_type:[hammer]]" +time="2025-02-08T06:08:30Z" level=debug msg="Received response:200 OK" +time="2025-02-08T06:08:30Z" level=debug msg="Have update available" +time="2025-02-08T06:08:30Z" level=info msg="Correct request for getting image from: http://127.0.0.1:40811/download [name: fake-id; devices: [vexpress]]" +time="2025-02-08T06:08:30Z" level=debug msg="Received update response: {{{http://127.0.0.1:40811/download } [vexpress] [] fake-id map[]} foo [] 0 false}" +time="2025-02-08T06:08:30Z" level=info msg="Attempting to upgrade to currently installed artifact name, not performing upgrade." +time="2025-02-08T06:08:30Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-273535460/artifact_info file." +time="2025-02-08T06:08:30Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-273535460/artifact_info" +time="2025-02-08T06:08:30Z" level=debug msg="artifact_name=fake-id" +time="2025-02-08T06:08:30Z" level=debug msg="Current manifest data: fake-id" +time="2025-02-08T06:08:30Z" level=debug msg="DEVICE_TYPE=hammer" +time="2025-02-08T06:08:30Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-273535460/device_type" +time="2025-02-08T06:08:30Z" level=debug msg="device_type=hammer" +time="2025-02-08T06:08:30Z" level=debug msg="Current manifest data: hammer" +time="2025-02-08T06:08:30Z" 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]] 0x4000020e00 50 [] false 127.0.0.1:40811 map[] map[] map[] 127.0.0.1:33010 /api/devices/v1/deployments/device/deployments/next 0x4000020e40}" +time="2025-02-08T06:08:30Z" level=debug msg="device provides not accepted by the server. Response code: 400" +time="2025-02-08T06:08:30Z" 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:40811 map[] map[] map[] 127.0.0.1:33012 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0x400053df80}" +time="2025-02-08T06:08:30Z" 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:40811 map[] map[] map[] 127.0.0.1:33012 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0x400053df80}" +time="2025-02-08T06:08:30Z" level=info msg="parsed URL query: map[artifact_name:[fake-id] device_type:[hammer]]" +time="2025-02-08T06:08:30Z" level=debug msg="Received response:200 OK" +time="2025-02-08T06:08:30Z" level=debug msg="Have update available" +time="2025-02-08T06:08:30Z" level=info msg="Correct request for getting image from: http://127.0.0.1:40811/download [name: fake-id-fake; devices: [vexpress]]" +time="2025-02-08T06:08:30Z" level=debug msg="Received update response: {{{http://127.0.0.1:40811/download } [vexpress] [] fake-id-fake map[]} foo [] 0 false}" +time="2025-02-08T06:08:30Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-273535460/artifact_info file." +time="2025-02-08T06:08:30Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-273535460/artifact_info" +time="2025-02-08T06:08:30Z" level=debug msg="artifact_name=fake-id" +time="2025-02-08T06:08:30Z" level=debug msg="Current manifest data: fake-id" +time="2025-02-08T06:08:30Z" level=debug msg="DEVICE_TYPE=hammer" +time="2025-02-08T06:08:30Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-273535460/device_type" +time="2025-02-08T06:08:30Z" level=debug msg="device_type=hammer" +time="2025-02-08T06:08:30Z" level=debug msg="Current manifest data: hammer" +time="2025-02-08T06:08:30Z" 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]] 0x40002ac800 50 [] false 127.0.0.1:40811 map[] map[] map[] 127.0.0.1:33012 /api/devices/v1/deployments/device/deployments/next 0x40002ac840}" +time="2025-02-08T06:08:30Z" level=debug msg="device provides not accepted by the server. Response code: 400" +time="2025-02-08T06:08:30Z" 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:40811 map[] map[] map[] 127.0.0.1:33028 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0x40002aca40}" +time="2025-02-08T06:08:30Z" 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:40811 map[] map[] map[] 127.0.0.1:33028 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0x40002aca40}" +time="2025-02-08T06:08:30Z" level=info msg="parsed URL query: map[artifact_name:[fake-id] device_type:[hammer]]" +time="2025-02-08T06:08:30Z" level=debug msg="Received response:204 No Content" +time="2025-02-08T06:08:30Z" level=debug msg="No update available" +time="2025-02-08T06:08:30Z" level=debug msg="no updates available" +--- PASS: Test_CheckUpdateSimple (0.01s) === RUN TestMenderGetUpdatePollInterval -time="2024-01-06T23:39:11Z" level=debug msg="Private key does not exist" -time="2024-01-06T23:39:11Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2025-02-08T06:08:30Z" level=debug msg="Private key does not exist" +time="2025-02-08T06:08:30Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" --- PASS: TestMenderGetUpdatePollInterval (0.00s) === RUN TestMenderGetInventoryPollInterval -time="2024-01-06T23:39:11Z" level=debug msg="Private key does not exist" -time="2024-01-06T23:39:11Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2025-02-08T06:08:30Z" level=debug msg="Private key does not exist" +time="2025-02-08T06:08:30Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" --- PASS: TestMenderGetInventoryPollInterval (0.00s) === RUN TestMenderAuthorize -time="2024-01-06T23:39:11Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-06T23:39:11Z" level=debug msg="Needs keys" -time="2024-01-06T23:39:11Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2024-01-06T23:39:11Z" level=error msg="Empty server list! Make sure at least one serveris specified in /etc/mender/mender.conf" -time="2024-01-06T23:39:11Z" level=info msg="authorization data present and valid, skipping authorization attempt" -time="2024-01-06T23:39:11Z" level=info msg="authorization data present and valid, skipping authorization attempt" -time="2024-01-06T23:39:11Z" level=info msg="authorization data present and valid, skipping authorization attempt" -time="2024-01-06T23:39:11Z" level=debug msg="Needs keys" -time="2024-01-06T23:39:11Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2024-01-06T23:39:11Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:40445" -time="2024-01-06T23:39:11Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[0] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[]] {} 0 [] false 127.0.0.1:40445 map[] map[] map[] 127.0.0.1:32996 /api/devices/v1/authentication/auth_requests 0x4000021900}" -time="2024-01-06T23:39:11Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Sat, 06 Jan 2024 23:39:11 GMT]] 0x4000343080 0 [] false false map[] 0x400034eb00 }" -time="2024-01-06T23:39:11Z" level=debug msg="Needs keys" -time="2024-01-06T23:39:11Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2024-01-06T23:39:11Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:40445" -time="2024-01-06T23:39:11Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[0] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[]] {} 0 [] false 127.0.0.1:40445 map[] map[] map[] 127.0.0.1:32996 /api/devices/v1/authentication/auth_requests 0x4000021b00}" -time="2024-01-06T23:39:11Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[6] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 06 Jan 2024 23:39:11 GMT]] 0x4000343520 6 [] false false map[] 0x400034ef00 }" -time="2024-01-06T23:39:11Z" level=debug msg="Receive response data" -time="2024-01-06T23:39:11Z" level=debug msg="Received response data: [102 111 111 98 97 114]" -time="2024-01-06T23:39:11Z" level=debug msg="Needs keys" -time="2024-01-06T23:39:11Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2024-01-06T23:39:11Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:40445" -time="2024-01-06T23:39:11Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[0] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[]] {} 0 [] false 127.0.0.1:40445 map[] map[] map[] 127.0.0.1:32996 /api/devices/v1/authentication/auth_requests 0x4000021e00}" -time="2024-01-06T23:39:11Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[6] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 06 Jan 2024 23:39:11 GMT]] 0x4000343a20 6 [] false false map[] 0x400034f300 }" -time="2024-01-06T23:39:11Z" level=debug msg="Receive response data" -time="2024-01-06T23:39:11Z" level=debug msg="Received response data: [102 111 111 98 97 114]" -time="2024-01-06T23:39:11Z" level=info msg="successfully received new authorization data" +time="2025-02-08T06:08:30Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2025-02-08T06:08:30Z" level=debug msg="Needs keys" +time="2025-02-08T06:08:30Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2025-02-08T06:08:30Z" level=error msg="Empty server list! Make sure at least one serveris specified in /etc/mender/mender.conf" +time="2025-02-08T06:08:30Z" level=info msg="authorization data present and valid, skipping authorization attempt" +time="2025-02-08T06:08:30Z" level=info msg="authorization data present and valid, skipping authorization attempt" +time="2025-02-08T06:08:30Z" level=info msg="authorization data present and valid, skipping authorization attempt" +time="2025-02-08T06:08:30Z" level=debug msg="Needs keys" +time="2025-02-08T06:08:30Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2025-02-08T06:08:30Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:38953" +time="2025-02-08T06:08:30Z" 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:38953 map[] map[] map[] 127.0.0.1:59290 /api/devices/v1/authentication/auth_requests 0x40003ba200}" +time="2025-02-08T06:08:30Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Sat, 08 Feb 2025 06:08:30 GMT]] 0x400021eb60 0 [] false false map[] 0x40005ac900 }" +time="2025-02-08T06:08:30Z" level=debug msg="Needs keys" +time="2025-02-08T06:08:30Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2025-02-08T06:08:30Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:38953" +time="2025-02-08T06:08:30Z" 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:38953 map[] map[] map[] 127.0.0.1:59290 /api/devices/v1/authentication/auth_requests 0x40000210c0}" +time="2025-02-08T06:08:30Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[6] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 08 Feb 2025 06:08:30 GMT]] 0x40003ac5a0 6 [] false false map[] 0x4000236900 }" +time="2025-02-08T06:08:30Z" level=debug msg="Receive response data" +time="2025-02-08T06:08:30Z" level=debug msg="Received response data: [102 111 111 98 97 114]" +time="2025-02-08T06:08:30Z" level=debug msg="Needs keys" +time="2025-02-08T06:08:30Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2025-02-08T06:08:30Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:38953" +time="2025-02-08T06:08:30Z" 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:38953 map[] map[] map[] 127.0.0.1:59290 /api/devices/v1/authentication/auth_requests 0x40005a0a80}" +time="2025-02-08T06:08:30Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[6] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 08 Feb 2025 06:08:30 GMT]] 0x40003ac920 6 [] false false map[] 0x40004cae00 }" +time="2025-02-08T06:08:30Z" level=debug msg="Receive response data" +time="2025-02-08T06:08:30Z" level=debug msg="Received response data: [102 111 111 98 97 114]" +time="2025-02-08T06:08:30Z" level=info msg="successfully received new authorization data" --- PASS: TestMenderAuthorize (0.00s) === RUN TestMenderReportStatus -time="2024-01-06T23:39:11Z" level=debug msg="Private key does not exist" -time="2024-01-06T23:39:11Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-06T23:39:11Z" level=info msg="authorization data present and valid, skipping authorization attempt" -time="2024-01-06T23:39:11Z" level=info msg="got deployments log/status request &{PUT /api/devices/v1/deployments/device/deployments/foobar/status HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[21] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x4000198380 21 [] false 127.0.0.1:36765 map[] map[] map[] 127.0.0.1:44512 /api/devices/v1/deployments/device/deployments/foobar/status 0x40001983c0}" -time="2024-01-06T23:39:11Z" level=info msg="request for foobar/status" -time="2024-01-06T23:39:11Z" level=info msg="got status request deployment ID: foobar, &{PUT /api/devices/v1/deployments/device/deployments/foobar/status HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[21] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x4000198380 21 [] false 127.0.0.1:36765 map[] map[] map[] 127.0.0.1:44512 /api/devices/v1/deployments/device/deployments/foobar/status 0x40001983c0}" -time="2024-01-06T23:39:11Z" level=debug msg="Status reported, response 204 No Content" -time="2024-01-06T23:39:11Z" level=info msg="got deployments log/status request &{PUT /api/devices/v1/deployments/device/deployments/foobar/status HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[21] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x4000198540 21 [] false 127.0.0.1:36765 map[] map[] map[] 127.0.0.1:44512 /api/devices/v1/deployments/device/deployments/foobar/status 0x4000198580}" -time="2024-01-06T23:39:11Z" level=info msg="request for foobar/status" -time="2024-01-06T23:39:11Z" level=info msg="got status request deployment ID: foobar, &{PUT /api/devices/v1/deployments/device/deployments/foobar/status HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[21] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x4000198540 21 [] false 127.0.0.1:36765 map[] map[] map[] 127.0.0.1:44512 /api/devices/v1/deployments/device/deployments/foobar/status 0x4000198580}" -time="2024-01-06T23:39:11Z" level=error msg="bad token, got Bearer tokendata expected footoken" -time="2024-01-06T23:39:11Z" level=info msg="Device unauthorized; attempting reauthorization" -time="2024-01-06T23:39:11Z" level=debug msg="Needs keys" -time="2024-01-06T23:39:11Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2024-01-06T23:39:12Z" level=debug msg="Tenant token: " -time="2024-01-06T23:39:12Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAq7a1CU7O2IigB497UEdv\nEyXMOySNIK29qcNOR5D5+16Q6k8F+QAv5FWumRDqhl/jKCx++2KQtmhVE7Ugpn0k\npzPrcTwCZwB860vEM45fK+s490z4+6QbBA8bsOF29idxT4fvIGATxARRX1hcnnyl\nOsTS4p4VrKBUBEnDVbcdsL3tbZRsrGdK1EJLVc4NNjb8veTqW6P1NvPmNwOTbmi6\nuPWx8NTvq2f/FTDMkaCHfEY1XdgLyXZPN+19eSEOWcCbobN9EWPKxZKi+PEuRZWb\nhRupTqIq+BFWlvmg5XEEGnet65rwhJWR0pPGV7cjBnrS6LJc3oOlyhvPnBCR8ckz\nOmnVyMMKPXc77XyjmNh31Kz3ELmgElrB+KR/dQbQvZBvIilmuxs7yiTw+zDMncba\nyug9OHoWsLt4vlXoz/iFElLotLXH0MLiKYsJIfPKM/N6P6evBqBzjkp1IWxAzvgG\nKAaQ115RmdxU6i1oko3/CngFKOgXO0d6H2BpPV2+YvmRAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2024-01-06T23:39:12Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:36765" -time="2024-01-06T23:39:12Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[FV0hhDgloyovRY6jyyVnqMPXmmSaZ9vlgcj6zmBPEYCq2qmfyRSEhVxBmA2zwVxo/T/jrlgbLKta41KLkoflCER0wd363KqnCqEeGhvHu1aeZYOc5Gvt+8xVH/NB9vyNGG9QMn2Q4rP1YKCtjkk3IqxZfX9kWSLj88C2dV8ONwSoPGXeD6JmWR5x/rJpHbbYuAutxJAT9kdwXygsvgF+3rx2Q8KxhO3WvaF31ZeQS1aIhRo0JywEZDt2trSOw9SSElNU8nu4rHyzC0eP5gY6/VjkT6b/VrAnN5Aumil+ifXH3eg7Enoi06tgjiWJJBgVmOJNOyi6aKkhY27VsQ7+7ke4QgBmOdujF9QyROf9xccsT+h44FYZEPbKreewcQJBWUKp7MkVmT1IoP42MOz+s0oRjGiKYrB8JAFM+5JcNw7inToa9MGVIZEau+zV0obW85ZwhE3lDVyDi3BNtp6lD4BUuEfoLLqMiQ2F6ZbjdzLe4j3KEmwvC6Q+a62QGGGf]] 0x4000408500 701 [] false 127.0.0.1:36765 map[] map[] map[] 127.0.0.1:44512 /api/devices/v1/authentication/auth_requests 0x4000408540}" -time="2024-01-06T23:39:12Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Sat, 06 Jan 2024 23:39:12 GMT]] 0x40005c4b20 0 [] false false map[] 0x40004c0a00 }" -time="2024-01-06T23:39:12Z" level=warning msg="Reauthorization failed with error: transient error: authorization request failed: (request_id: ): authentication request rejected server error message: failed to parse server response: EOF" -time="2024-01-06T23:39:12Z" level=error msg="Got unexpected HTTP status when reporting status: 401" -time="2024-01-06T23:39:12Z" level=error msg="error reporting update status: (request_id: ): reporting status failed, bad status 401 server error message: failed to parse server response: EOF" -time="2024-01-06T23:39:12Z" level=info msg="got deployments log/status request &{PUT /api/devices/v1/deployments/device/deployments/foobar/status HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[21] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x4000408840 21 [] false 127.0.0.1:36765 map[] map[] map[] 127.0.0.1:44512 /api/devices/v1/deployments/device/deployments/foobar/status 0x4000408880}" -time="2024-01-06T23:39:12Z" level=info msg="request for foobar/status" -time="2024-01-06T23:39:12Z" level=info msg="got status request deployment ID: foobar, &{PUT /api/devices/v1/deployments/device/deployments/foobar/status HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[21] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x4000408840 21 [] false 127.0.0.1:36765 map[] map[] map[] 127.0.0.1:44512 /api/devices/v1/deployments/device/deployments/foobar/status 0x4000408880}" -time="2024-01-06T23:39:12Z" level=error msg="bad authorization value: Bearer" -time="2024-01-06T23:39:12Z" level=info msg="Device unauthorized; attempting reauthorization" -time="2024-01-06T23:39:12Z" level=debug msg="Tenant token: " -time="2024-01-06T23:39:12Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAq7a1CU7O2IigB497UEdv\nEyXMOySNIK29qcNOR5D5+16Q6k8F+QAv5FWumRDqhl/jKCx++2KQtmhVE7Ugpn0k\npzPrcTwCZwB860vEM45fK+s490z4+6QbBA8bsOF29idxT4fvIGATxARRX1hcnnyl\nOsTS4p4VrKBUBEnDVbcdsL3tbZRsrGdK1EJLVc4NNjb8veTqW6P1NvPmNwOTbmi6\nuPWx8NTvq2f/FTDMkaCHfEY1XdgLyXZPN+19eSEOWcCbobN9EWPKxZKi+PEuRZWb\nhRupTqIq+BFWlvmg5XEEGnet65rwhJWR0pPGV7cjBnrS6LJc3oOlyhvPnBCR8ckz\nOmnVyMMKPXc77XyjmNh31Kz3ELmgElrB+KR/dQbQvZBvIilmuxs7yiTw+zDMncba\nyug9OHoWsLt4vlXoz/iFElLotLXH0MLiKYsJIfPKM/N6P6evBqBzjkp1IWxAzvgG\nKAaQ115RmdxU6i1oko3/CngFKOgXO0d6H2BpPV2+YvmRAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2024-01-06T23:39:12Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:36765" -time="2024-01-06T23:39:12Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[FV0hhDgloyovRY6jyyVnqMPXmmSaZ9vlgcj6zmBPEYCq2qmfyRSEhVxBmA2zwVxo/T/jrlgbLKta41KLkoflCER0wd363KqnCqEeGhvHu1aeZYOc5Gvt+8xVH/NB9vyNGG9QMn2Q4rP1YKCtjkk3IqxZfX9kWSLj88C2dV8ONwSoPGXeD6JmWR5x/rJpHbbYuAutxJAT9kdwXygsvgF+3rx2Q8KxhO3WvaF31ZeQS1aIhRo0JywEZDt2trSOw9SSElNU8nu4rHyzC0eP5gY6/VjkT6b/VrAnN5Aumil+ifXH3eg7Enoi06tgjiWJJBgVmOJNOyi6aKkhY27VsQ7+7ke4QgBmOdujF9QyROf9xccsT+h44FYZEPbKreewcQJBWUKp7MkVmT1IoP42MOz+s0oRjGiKYrB8JAFM+5JcNw7inToa9MGVIZEau+zV0obW85ZwhE3lDVyDi3BNtp6lD4BUuEfoLLqMiQ2F6ZbjdzLe4j3KEmwvC6Q+a62QGGGf]] 0x4000408b80 701 [] false 127.0.0.1:36765 map[] map[] map[] 127.0.0.1:44512 /api/devices/v1/authentication/auth_requests 0x4000408bc0}" -time="2024-01-06T23:39:12Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[9] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 06 Jan 2024 23:39:12 GMT]] 0x40005c57a0 9 [] false false map[] 0x40004c1500 }" -time="2024-01-06T23:39:12Z" level=debug msg="Receive response data" -time="2024-01-06T23:39:12Z" level=debug msg="Received response data: [116 111 107 101 110 100 97 116 97]" -time="2024-01-06T23:39:12Z" level=info msg="got deployments log/status request &{PUT /api/devices/v1/deployments/device/deployments/foobar/status HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[21] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x4000408e80 21 [] false 127.0.0.1:36765 map[] map[] map[] 127.0.0.1:44512 /api/devices/v1/deployments/device/deployments/foobar/status 0x4000408ec0}" -time="2024-01-06T23:39:12Z" level=info msg="request for foobar/status" -time="2024-01-06T23:39:12Z" level=info msg="got status request deployment ID: foobar, &{PUT /api/devices/v1/deployments/device/deployments/foobar/status HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[21] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x4000408e80 21 [] false 127.0.0.1:36765 map[] map[] map[] 127.0.0.1:44512 /api/devices/v1/deployments/device/deployments/foobar/status 0x4000408ec0}" -time="2024-01-06T23:39:12Z" level=warning msg="Status report rejected, deployment aborted at the backend" -time="2024-01-06T23:39:12Z" level=error msg="error reporting update status: (request_id: ): deployment was aborted server error message: failed to parse server response: EOF" ---- PASS: TestMenderReportStatus (0.93s) +time="2025-02-08T06:08:30Z" level=debug msg="Private key does not exist" +time="2025-02-08T06:08:30Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2025-02-08T06:08:30Z" level=info msg="authorization data present and valid, skipping authorization attempt" +time="2025-02-08T06:08:30Z" 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]] 0x40002acc40 21 [] false 127.0.0.1:38653 map[] map[] map[] 127.0.0.1:47912 /api/devices/v1/deployments/device/deployments/foobar/status 0x40002acc80}" +time="2025-02-08T06:08:30Z" level=info msg="request for foobar/status" +time="2025-02-08T06:08:30Z" 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]] 0x40002acc40 21 [] false 127.0.0.1:38653 map[] map[] map[] 127.0.0.1:47912 /api/devices/v1/deployments/device/deployments/foobar/status 0x40002acc80}" +time="2025-02-08T06:08:30Z" level=debug msg="Status reported, response 204 No Content" +time="2025-02-08T06:08:30Z" 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]] 0x40005a0dc0 21 [] false 127.0.0.1:38653 map[] map[] map[] 127.0.0.1:47912 /api/devices/v1/deployments/device/deployments/foobar/status 0x40005a0e00}" +time="2025-02-08T06:08:30Z" level=info msg="request for foobar/status" +time="2025-02-08T06:08:30Z" 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]] 0x40005a0dc0 21 [] false 127.0.0.1:38653 map[] map[] map[] 127.0.0.1:47912 /api/devices/v1/deployments/device/deployments/foobar/status 0x40005a0e00}" +time="2025-02-08T06:08:30Z" level=error msg="bad token, got Bearer tokendata expected footoken" +time="2025-02-08T06:08:30Z" level=info msg="Device unauthorized; attempting reauthorization" +time="2025-02-08T06:08:30Z" level=debug msg="Needs keys" +time="2025-02-08T06:08:30Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2025-02-08T06:08:32Z" level=debug msg="Tenant token: " +time="2025-02-08T06:08:32Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAt6JNTJnnmHLNmYt8IjwK\nU/K4ukKFTvI4KPVtUjlz5DJ6JMIZRBiaWEbEDQwDdJ6VgDgNn55j55DGmBrGhxPn\nbhqjgzbvLbBDHEVDkdHiElGpKZa0f1+Fo7reMJlx48UnChcx0eo7IY4JkhliwU4C\ngQA2fQWUc5EPJFSLTznRyyczDF0BJNZrm2knr6t64UPCTadPWAHj4vfGNmBlpu8q\ngGtBGHr79MlEgYvITJygmfxVnwhI8LoFwLtEhU4Z/dztA6DhyezL5DoHNrYcPTyT\nPgKRdQlSTCLs1/eYAVLBjkfvKnGetfXRczLLCJtYmI+CFCfXRpmmU5RMnrSWYSXJ\nmv4N/ptEZMAgZfIjMTZ5jFayRg8ZK2LslPoU+jbwX6ZW4o5j8LR8zrLzZS7KmDBO\nLTQcLYUclhvJgfSA22HlxX+IK+h75BeWkz0Au1GvWQmLqjKpMVjLn3pzKCPo6h8U\nlL/ICyjVhJpbtwqQAnPjwHv2Eri91xxnxuKJXZCv4AdNAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2025-02-08T06:08:32Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:38653" +time="2025-02-08T06:08:32Z" 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:[ZxhWuflI/ChBivGOFDMym2vU5GPVo7ISlJcDFB5fCOSlin4rFlDnk1y81vDxmCCycLXXfvB9zKt+uZh/na5cphk1rGsC9n0ZuTYli/wOBo+UlzXMUi0g2XTZbXlZXRlz+et1g0k/lHLlNVntr+Tbjrax4r25zgI8rwHorTmw3JkZsYxBZJkyMhqEsyMJOLs9SslOcdGBnzI6vmhk5oI7eUA+uwq83ixFvtvIRV8F+t9tyrlZnLoJKKxqciqMV1XK9wUTIhaAd/yPUCNiBOuuoOxrRMjzjrTaGDL7k9K1F2XYf13VF2tr/lgamGmAp6yyy1bIu8mJnfmoVgmOYEho94YfcBkVd4ne0QZINj8NTLnL16xyfe9AbdRfaEIUj66MAmQIJWkq/ZnFXpDvYDBcIowmvICk0gnRDM6vLOa1ynwSR1vBaP6nj67e5Fh3UKis/xnqS3WI3Otkl/2Qntby5MXXSVIKbPGs5+XDrOo2slpCA2dP/HumGJEblSHdnD1o]] 0x4000021440 701 [] false 127.0.0.1:38653 map[] map[] map[] 127.0.0.1:47912 /api/devices/v1/authentication/auth_requests 0x4000021480}" +time="2025-02-08T06:08:32Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Sat, 08 Feb 2025 06:08:32 GMT]] 0x40002cd040 0 [] false false map[] 0x4000237100 }" +time="2025-02-08T06:08:32Z" 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="2025-02-08T06:08:32Z" level=error msg="Got unexpected HTTP status when reporting status: 401" +time="2025-02-08T06:08:32Z" 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="2025-02-08T06:08:32Z" 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]] 0x4000021500 21 [] false 127.0.0.1:38653 map[] map[] map[] 127.0.0.1:47912 /api/devices/v1/deployments/device/deployments/foobar/status 0x4000021540}" +time="2025-02-08T06:08:32Z" level=info msg="request for foobar/status" +time="2025-02-08T06:08:32Z" 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]] 0x4000021500 21 [] false 127.0.0.1:38653 map[] map[] map[] 127.0.0.1:47912 /api/devices/v1/deployments/device/deployments/foobar/status 0x4000021540}" +time="2025-02-08T06:08:32Z" level=error msg="bad authorization value: Bearer" +time="2025-02-08T06:08:32Z" level=info msg="Device unauthorized; attempting reauthorization" +time="2025-02-08T06:08:32Z" level=debug msg="Tenant token: " +time="2025-02-08T06:08:32Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAt6JNTJnnmHLNmYt8IjwK\nU/K4ukKFTvI4KPVtUjlz5DJ6JMIZRBiaWEbEDQwDdJ6VgDgNn55j55DGmBrGhxPn\nbhqjgzbvLbBDHEVDkdHiElGpKZa0f1+Fo7reMJlx48UnChcx0eo7IY4JkhliwU4C\ngQA2fQWUc5EPJFSLTznRyyczDF0BJNZrm2knr6t64UPCTadPWAHj4vfGNmBlpu8q\ngGtBGHr79MlEgYvITJygmfxVnwhI8LoFwLtEhU4Z/dztA6DhyezL5DoHNrYcPTyT\nPgKRdQlSTCLs1/eYAVLBjkfvKnGetfXRczLLCJtYmI+CFCfXRpmmU5RMnrSWYSXJ\nmv4N/ptEZMAgZfIjMTZ5jFayRg8ZK2LslPoU+jbwX6ZW4o5j8LR8zrLzZS7KmDBO\nLTQcLYUclhvJgfSA22HlxX+IK+h75BeWkz0Au1GvWQmLqjKpMVjLn3pzKCPo6h8U\nlL/ICyjVhJpbtwqQAnPjwHv2Eri91xxnxuKJXZCv4AdNAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2025-02-08T06:08:32Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:38653" +time="2025-02-08T06:08:32Z" 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:[ZxhWuflI/ChBivGOFDMym2vU5GPVo7ISlJcDFB5fCOSlin4rFlDnk1y81vDxmCCycLXXfvB9zKt+uZh/na5cphk1rGsC9n0ZuTYli/wOBo+UlzXMUi0g2XTZbXlZXRlz+et1g0k/lHLlNVntr+Tbjrax4r25zgI8rwHorTmw3JkZsYxBZJkyMhqEsyMJOLs9SslOcdGBnzI6vmhk5oI7eUA+uwq83ixFvtvIRV8F+t9tyrlZnLoJKKxqciqMV1XK9wUTIhaAd/yPUCNiBOuuoOxrRMjzjrTaGDL7k9K1F2XYf13VF2tr/lgamGmAp6yyy1bIu8mJnfmoVgmOYEho94YfcBkVd4ne0QZINj8NTLnL16xyfe9AbdRfaEIUj66MAmQIJWkq/ZnFXpDvYDBcIowmvICk0gnRDM6vLOa1ynwSR1vBaP6nj67e5Fh3UKis/xnqS3WI3Otkl/2Qntby5MXXSVIKbPGs5+XDrOo2slpCA2dP/HumGJEblSHdnD1o]] 0x40000218c0 701 [] false 127.0.0.1:38653 map[] map[] map[] 127.0.0.1:47912 /api/devices/v1/authentication/auth_requests 0x4000021900}" +time="2025-02-08T06:08:32Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[9] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 08 Feb 2025 06:08:32 GMT]] 0x400021fe80 9 [] false false map[] 0x4000237800 }" +time="2025-02-08T06:08:32Z" level=debug msg="Receive response data" +time="2025-02-08T06:08:32Z" level=debug msg="Received response data: [116 111 107 101 110 100 97 116 97]" +time="2025-02-08T06:08:32Z" 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]] 0x40002acf80 21 [] false 127.0.0.1:38653 map[] map[] map[] 127.0.0.1:47912 /api/devices/v1/deployments/device/deployments/foobar/status 0x40002acfc0}" +time="2025-02-08T06:08:32Z" level=info msg="request for foobar/status" +time="2025-02-08T06:08:32Z" 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]] 0x40002acf80 21 [] false 127.0.0.1:38653 map[] map[] map[] 127.0.0.1:47912 /api/devices/v1/deployments/device/deployments/foobar/status 0x40002acfc0}" +time="2025-02-08T06:08:32Z" level=warning msg="Status report rejected, deployment aborted at the backend" +time="2025-02-08T06:08:32Z" level=error msg="error reporting update status: (request_id: ): deployment was aborted server error message: failed to parse server response: EOF" +--- PASS: TestMenderReportStatus (1.64s) === RUN TestMenderLogUpload -time="2024-01-06T23:39:12Z" level=debug msg="Private key does not exist" -time="2024-01-06T23:39:12Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-06T23:39:12Z" level=info msg="authorization data present and valid, skipping authorization attempt" -time="2024-01-06T23:39:12Z" level=info msg="got deployments log/status request &{PUT /api/devices/v1/deployments/device/deployments/foobar/log HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[136] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x40004093c0 136 [] false 127.0.0.1:46237 map[] map[] map[] 127.0.0.1:60560 /api/devices/v1/deployments/device/deployments/foobar/log 0x4000409400}" -time="2024-01-06T23:39:12Z" level=info msg="request for foobar/log" -time="2024-01-06T23:39:12Z" level=info msg="got log request deployment ID: foobar, &{PUT /api/devices/v1/deployments/device/deployments/foobar/log HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[136] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x40004093c0 136 [] false 127.0.0.1:46237 map[] map[] map[] 127.0.0.1:60560 /api/devices/v1/deployments/device/deployments/foobar/log 0x4000409400}" -time="2024-01-06T23:39:12Z" level=info msg="got logs: [123 32 34 109 101 115 115 97 103 101 115 34 58 10 91 123 32 34 116 105 109 101 34 58 32 34 49 50 58 49 50 58 49 50 34 44 32 34 108 101 118 101 108 34 58 32 34 101 114 114 111 114 34 44 32 34 109 115 103 34 58 32 34 108 111 103 32 102 111 111 34 32 125 44 10 123 32 34 116 105 109 101 34 58 32 34 49 50 58 49 50 58 49 51 34 44 32 34 108 101 118 101 108 34 58 32 34 100 101 98 117 103 34 44 32 34 109 115 103 34 58 32 34 108 111 103 32 98 97 114 34 32 125 93 10 125]" -time="2024-01-06T23:39:12Z" level=debug msg="Logs uploaded, response &{204 No Content 204 HTTP/1.1 1 1 map[Date:[Sat, 06 Jan 2024 23:39:12 GMT]] 0x400000eac0 0 [] false false map[] 0x40004c1f00 }" -time="2024-01-06T23:39:12Z" level=info msg="got deployments log/status request &{PUT /api/devices/v1/deployments/device/deployments/foobar/log HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[136] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x40005bc000 136 [] false 127.0.0.1:46237 map[] map[] map[] 127.0.0.1:60560 /api/devices/v1/deployments/device/deployments/foobar/log 0x40005bc040}" -time="2024-01-06T23:39:12Z" level=info msg="request for foobar/log" -time="2024-01-06T23:39:12Z" level=info msg="got log request deployment ID: foobar, &{PUT /api/devices/v1/deployments/device/deployments/foobar/log HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[136] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x40005bc000 136 [] false 127.0.0.1:46237 map[] map[] map[] 127.0.0.1:60560 /api/devices/v1/deployments/device/deployments/foobar/log 0x40005bc040}" -time="2024-01-06T23:39:12Z" level=error msg="bad token, got Bearer tokendata expected footoken" -time="2024-01-06T23:39:12Z" level=info msg="Device unauthorized; attempting reauthorization" -time="2024-01-06T23:39:12Z" level=debug msg="Needs keys" -time="2024-01-06T23:39:12Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2024-01-06T23:39:13Z" level=debug msg="Tenant token: " -time="2024-01-06T23:39:13Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA2Lvl8iI4T8c+ZBAd2nko\n7zjKuYZhiF6gZkm0FpDkamOHqiJZkKT1C/WOwzratCrl8rLCv9w92VIxlbNYZQzh\n+3YKaHgXcLvaqAmzu+4+T0XntIKni0y4lhfM6xc4G7yK2BYXlguvxwf1dS8kiPka\nBVfDTgvgm6256DU38Lom454y63yqiYmXBdA8QTdhxtRYHdmss+sB0p54KKgvOUf/\nK6ffBQFzYy9WVFFfmnG6UWvnKwlfuLLzw3KuBJY3YLQ0YBE5ZxbpHqZZIjMS+8HV\na8buJbcIuX3jL72f0sAeuWwMWSQylfISdruemWDHwRIrCyshDBccVeUMA3Cly9ps\ngU5GJLQUeGVlMIrQjF/AKhGo4KsD7QfZRQWRtKdp4TshOYUc+CNwq/43l6IU7M9g\nUfxK8ZxtPGdVf9IbNQJzM1jCJb0UJRwYmNxJ7nFu/7D6Flvv5dUZi0dHF/9k1rpg\npCYNFthpHSBjYQYaJ5OIIUahXQGfz4elYImszrVN2gz9AgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2024-01-06T23:39:13Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:46237" -time="2024-01-06T23:39:13Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[r7+QrzWpQft5GsNP9fCQpt5s/30Nq1UP3F3yLgdfN4LOWuxhS8o4TyfzuOC8qP3GnzSYb+vTsF3LThjk7u+k0D5FvQtCor1MZNhOnMOeq+oUFucO/w7guKkWRLzUbDmDMntKyGZi8MrJkpnIQI83r2HvlA39Z7rQw0v2Th8AXU3Dd1CG9gC1LypEZsOr9omtbF78sM7pBjZuZeo1WWkIBvD8vr+HdgQhBgymWvsP0u9/LGhzEGjT3x44NRgI3MuhLrc7vkCz5byFSGetFowAarhp0DcnBElDRFbxhikgeYACJudPZkBJ242Wb1WD8utdWf3nPLpJaEV/rX/WZc2+Jl0zrfD7LbRrAlbfVXBKcaJAkPdc60nWU0rYg93sMI8E5LMajp9Wuix2Kib7qdcMflYW7LfyYvXzIMJe0KzGcyMCuUVfuD9Sp9SvoFkUCYuAUbI5XoIUAsHFGKmgeWfx121qmdbE15ZNiGd5I7jOzomiexmdYMGnwMqcL0j4+Bla]] 0x4000409840 701 [] false 127.0.0.1:46237 map[] map[] map[] 127.0.0.1:60560 /api/devices/v1/authentication/auth_requests 0x4000409880}" -time="2024-01-06T23:39:13Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Sat, 06 Jan 2024 23:39:13 GMT]] 0x400000f460 0 [] false false map[] 0x4000202800 }" -time="2024-01-06T23:39:13Z" level=warning msg="Reauthorization failed with error: transient error: authorization request failed: (request_id: ): authentication request rejected server error message: failed to parse server response: EOF" -time="2024-01-06T23:39:13Z" level=error msg="Got unexpected HTTP status when uploading log: 401" -time="2024-01-06T23:39:13Z" level=error msg="error uploading logs: (request_id: ): uploading logs failed, bad status 401 server error message: failed to parse server response: EOF" ---- PASS: TestMenderLogUpload (1.19s) +time="2025-02-08T06:08:32Z" level=debug msg="Private key does not exist" +time="2025-02-08T06:08:32Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2025-02-08T06:08:32Z" level=info msg="authorization data present and valid, skipping authorization attempt" +time="2025-02-08T06:08:32Z" 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]] 0x4000020280 136 [] false 127.0.0.1:44127 map[] map[] map[] 127.0.0.1:58770 /api/devices/v1/deployments/device/deployments/foobar/log 0x4000020380}" +time="2025-02-08T06:08:32Z" level=info msg="request for foobar/log" +time="2025-02-08T06:08:32Z" 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]] 0x4000020280 136 [] false 127.0.0.1:44127 map[] map[] map[] 127.0.0.1:58770 /api/devices/v1/deployments/device/deployments/foobar/log 0x4000020380}" +time="2025-02-08T06:08:32Z" 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="2025-02-08T06:08:32Z" level=debug msg="Logs uploaded, response &{204 No Content 204 HTTP/1.1 1 1 map[Date:[Sat, 08 Feb 2025 06:08:32 GMT]] 0x40002cc3a0 0 [] false false map[] 0x40003c4100 }" +time="2025-02-08T06:08:32Z" 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]] 0x4000020540 136 [] false 127.0.0.1:44127 map[] map[] map[] 127.0.0.1:58770 /api/devices/v1/deployments/device/deployments/foobar/log 0x4000020580}" +time="2025-02-08T06:08:32Z" level=info msg="request for foobar/log" +time="2025-02-08T06:08:32Z" 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]] 0x4000020540 136 [] false 127.0.0.1:44127 map[] map[] map[] 127.0.0.1:58770 /api/devices/v1/deployments/device/deployments/foobar/log 0x4000020580}" +time="2025-02-08T06:08:32Z" level=error msg="bad token, got Bearer tokendata expected footoken" +time="2025-02-08T06:08:32Z" level=info msg="Device unauthorized; attempting reauthorization" +time="2025-02-08T06:08:32Z" level=debug msg="Needs keys" +time="2025-02-08T06:08:32Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2025-02-08T06:08:32Z" level=debug msg="Tenant token: " +time="2025-02-08T06:08:32Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAyBb1pHMb5FMxpuJ6++5F\n58FcRbC83ENID01s/egTCfdRlvJ2cep4yhhTdG8fwOcAVDTvj732lvSJhNYGRWGZ\nypbCSfeH12wAuZM1boHbRifVSNMEHQwgMOBDkcU2FpZk1SzTtXR+oa/4EerSrUTl\nCrK0YWr/xUBxDl79YrOoxf8LPzez8KLJVZCzjWWdEK5osG88IPw85P/nKV7m7MgK\nac4l5TI67Ii5efK/7uoxv8ZtdJRwwDzbIJaoc8oYmIJvVqg4nCI2vsijZNTOGnlV\nHvYCNJheySvs4UKKjIRvLK7SFG2Qamh0hJ/2qw+iBENVWuD0JdK7fdX4iS6z4kR5\nc0a4Op/P1S9xXMtN8D0NxqHeEo0C7g0MEkRK4FqyifeHF1W7aH2t909FAtM856zG\nE7/9kp/fMfQ1aSt1TjhEK0e3lAZl4uiyvcZLA9uwbbqeRgYsJwnguD3pro2l0Uge\nUbAqrM6QhTIrnsIiWU0vJYqG1SOMNrMp1q2RLvZzswu9AgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2025-02-08T06:08:32Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:44127" +time="2025-02-08T06:08:32Z" 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:[RuLIweyrNZiEzqYXLaqclx6Kq94UF+43HsDxgpOCFRkzfd7yX47OOSLespiUGQaJy4+1VCsUu88vMwLBHrjroQVkVywSaP0iZdsHTiU4IxwnppD/MfI5xKMnwPdaCRKajIf/r+ERaRIYC35BgTxa+8giD+I3nyzbpB0for9tZA/B+V0+IiteXhY7e3a7x7JOZxi+U/rsOpQLvcPtkfCuS4pJbJ4DKvNDoG/DbODo27FAodV7pj4ks0ArwBHDHRRstKrkFNf/ht3//j91RUMttssQi0TWbztf7SOct0HsiTV95XqoInUPLN+w95F3TzCLKToUVkthXFl+jANA7wt+w/R5F78uEqdHdFxrDZ5AMBODS/Tm0sQy0kHfarhoPdss9My54+S0/Ni8Y0taNHEPdq//N/L9BSO51oAjZsR3uk+NrJs0O6nje5X1gOYgU7EFbDkSoRaMelKSsM6llZdcJNBOruuX3I2JJAQv3nu6HVoSnIucA7cIYPARgzALkI/+]] 0x40002ac480 701 [] false 127.0.0.1:44127 map[] map[] map[] 127.0.0.1:58770 /api/devices/v1/authentication/auth_requests 0x40002ac4c0}" +time="2025-02-08T06:08:32Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Sat, 08 Feb 2025 06:08:32 GMT]] 0x40002cc8e0 0 [] false false map[] 0x4000450100 }" +time="2025-02-08T06:08:32Z" 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="2025-02-08T06:08:32Z" level=error msg="Got unexpected HTTP status when uploading log: 401" +time="2025-02-08T06:08:32Z" level=error msg="error uploading logs: (request_id: ): uploading logs failed, bad status 401 server error message: failed to parse server response: EOF" +--- PASS: TestMenderLogUpload (0.29s) === RUN TestAuthToken -time="2024-01-06T23:39:13Z" level=debug msg="Private key does not exist" -time="2024-01-06T23:39:13Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-06T23:39:13Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-384825641/artifact_info file." -time="2024-01-06T23:39:13Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-384825641/artifact_info" -time="2024-01-06T23:39:13Z" level=debug msg="artifact_name=fake-id" -time="2024-01-06T23:39:13Z" level=debug msg="Current manifest data: fake-id" -time="2024-01-06T23:39:13Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-384825641/device_type" -time="2024-01-06T23:39:13Z" level=debug msg="device_type=foo-bar" -time="2024-01-06T23:39:13Z" level=debug msg="Current manifest data: foo-bar" -time="2024-01-06T23:39:13Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[51] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x400029a000 51 [] false 127.0.0.1:42155 map[] map[] map[] 127.0.0.1:32850 /api/devices/v1/deployments/device/deployments/next 0x400029a040}" -time="2024-01-06T23:39:13Z" level=debug msg="device provides not accepted by the server. Response code: 400" -time="2024-01-06T23:39:13Z" level=info msg="got update request &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=foo-bar HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:42155 map[] map[] map[] 127.0.0.1:32856 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=foo-bar 0x400022e0c0}" -time="2024-01-06T23:39:13Z" level=info msg="Valid update request GET: &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=foo-bar HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:42155 map[] map[] map[] 127.0.0.1:32856 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=foo-bar 0x400022e0c0}" -time="2024-01-06T23:39:13Z" level=info msg="parsed URL query: map[artifact_name:[fake-id] device_type:[foo-bar]]" -time="2024-01-06T23:39:13Z" level=info msg="Device unauthorized; attempting reauthorization" -time="2024-01-06T23:39:13Z" level=debug msg="Needs keys" -time="2024-01-06T23:39:13Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2024-01-06T23:39:14Z" level=debug msg="Tenant token: " -time="2024-01-06T23:39:14Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAtZmTrFxDGBn5n/SjA3Tp\nL6ZiL7/c8AcbFOq+g8Mdy0fXxCVIirT2EiZTrInVlwUhuP3F0OGb09hhUiHc3ZhS\nXHx9oZFV6cyFp+MhrE07jfe9hDncp+ud2WcOrXD0cxO+RMc1ByO2TswfaPvapJfG\n+l0yZLn1YyBBNO8It4w2a7kekcpv0RrNpmDTnaQ/Fc/yTfZczBDmvCNSZSTZ/Axs\nFZB6ZoX1je4KTWMgtAd4EBrBpG5o8xCVerQPYwxNUKnxD2wU1SqXvQipIsRQqH3j\naIIvA6vx+72nLfTqFQ75MAmPZxk1fGt+ejkAUy9Qw8Uh5I6Jxvn5jcATDVu9ZUot\nSWQ+1cthcFdHzFRvGhZwDAwN2brwuVL+I2ZiD9X+YsSVz7W1r8pVlfCMyFqBIJ31\n57wcsAyyUBwzdqGNhVeGLlD294gA/xYgMFwB4zF5sKNjlvMHVNH+UdaIP1OSeuQE\n8c3uqYMqzVuJ0tH4sMCzIn0PdvsAHT6ew8jiZYpxAUHLAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2024-01-06T23:39:14Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:42155" -time="2024-01-06T23:39:14Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[lWEmMSlOuGVRKtu01HORulPsSpfh2L5xQC2+3Cl+3Ac5HIomahE6S8SZEkcnJMwLzvppeL3PoQUbhm9a1LgD8Uy6gPOtFOxggRYbffXeOoHNzmaeHZuIQpZcrH+Cw6iqc/CZddEmoS5wMXO+38mfp3Tsg3Yt0nCal2w0W1buTweIohfxY6So0+yFPrsVTo8CDhpjuNgrFNPSgl8W7WmfpmazhxdkzOQziBI0yteSQgB1wGTMgptN/yWpihmMe2ba8qKvsHaSekdPwmp6mRb9HbmSGNtLnMw2oBu1DLCzGJq8TQssPp3g+U1GHIWjsy84TqnWVuAMdO9Q4Qk4EAFiMRi7HkT1rp1lQljm2AVFO/eCmnL/6zvZS+km15gSei23zLGikeN45AiFQk3tN4nye2913T87UrWM++TpAk/0U+9nr1CCCWlzLd1acYKfMG8ft2tA0Zvzyk8uSm4qt/23JcFSiWfYpwBFkHidxj9opZun98QAzZ+7OuKo4B5uveUT]] 0x4000676cc0 701 [] false 127.0.0.1:42155 map[] map[] map[] 127.0.0.1:32856 /api/devices/v1/authentication/auth_requests 0x4000676d00}" -time="2024-01-06T23:39:14Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Sat, 06 Jan 2024 23:39:14 GMT]] 0x4000679320 0 [] false false map[] 0x4000203700 }" -time="2024-01-06T23:39:14Z" level=warning msg="Reauthorization failed with error: transient error: authorization request failed: (request_id: ): authentication request rejected server error message: failed to parse server response: EOF" -time="2024-01-06T23:39:14Z" level=debug msg="Received response:401 Unauthorized" -time="2024-01-06T23:39:14Z" level=warning msg="Client not authorized to get update schedule." -time="2024-01-06T23:39:14Z" level=error msg="Error receiving scheduled update data: (request_id: ): client not authorized server error message: failed to parse server response: EOF" ---- PASS: TestAuthToken (0.98s) +time="2025-02-08T06:08:32Z" level=debug msg="Private key does not exist" +time="2025-02-08T06:08:32Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2025-02-08T06:08:32Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-437379059/artifact_info file." +time="2025-02-08T06:08:32Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-437379059/artifact_info" +time="2025-02-08T06:08:32Z" level=debug msg="artifact_name=fake-id" +time="2025-02-08T06:08:32Z" level=debug msg="Current manifest data: fake-id" +time="2025-02-08T06:08:32Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-437379059/device_type" +time="2025-02-08T06:08:32Z" level=debug msg="device_type=foo-bar" +time="2025-02-08T06:08:32Z" level=debug msg="Current manifest data: foo-bar" +time="2025-02-08T06:08:32Z" 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]] 0x4000020d00 51 [] false 127.0.0.1:39293 map[] map[] map[] 127.0.0.1:35500 /api/devices/v1/deployments/device/deployments/next 0x4000020d40}" +time="2025-02-08T06:08:32Z" level=debug msg="device provides not accepted by the server. Response code: 400" +time="2025-02-08T06:08:32Z" 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:39293 map[] map[] map[] 127.0.0.1:35516 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=foo-bar 0x4000020e40}" +time="2025-02-08T06:08:32Z" 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:39293 map[] map[] map[] 127.0.0.1:35516 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=foo-bar 0x4000020e40}" +time="2025-02-08T06:08:32Z" level=info msg="parsed URL query: map[artifact_name:[fake-id] device_type:[foo-bar]]" +time="2025-02-08T06:08:32Z" level=info msg="Device unauthorized; attempting reauthorization" +time="2025-02-08T06:08:32Z" level=debug msg="Needs keys" +time="2025-02-08T06:08:32Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2025-02-08T06:08:33Z" level=debug msg="Tenant token: " +time="2025-02-08T06:08:33Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAxul69aP/ncD1bIMjNbIs\nhgaqVso/vEHCeJzDLfAFKGCC0UVs5FPxVECSVIjMWjNZki59XR9/j0ZvAKmr8G3s\nxrDPtekkK1sS8MdD+JBZBQgCsEcpR054FmQXdXnFuWhzfFCuHIpZ7LuqJQbVZFah\n6NLGgMpaR1uiwxp9Ldteuc1RFa/29sMcxZxLASuxv5wVJVNgd8D+4IK6rW9Muf5t\nPxzcpn/VreIKd6oVXBU1iNOZarcDIQ4bjGC9k49wOAsNltZNn7k4S1DTr6rwzM0b\nA6ENJfkLiUSPU879sLISvmtVusgcszAeKmQN2lOUW+XOvSF0hV9aT4m102wf3z9H\nKy8wzgExONNCdcVdd8yPJQ858E/CKhFz1by4VYwX8VWfowr4OfXgcXGsxFGkPIxy\n2wB7eMZzGU+CpsWbxCEZRnQkh5wWb8w9M5tRNE3WS/RvVRspsyuNLrnVSGmti1bY\nWhFEE8aCRro2pr3Lrd8NphHs6BOimGCyy9if736ixAIfAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2025-02-08T06:08:33Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:39293" +time="2025-02-08T06:08: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:[GnElnSXtF/oMwOR7dK5m8C3Uug0/jjG+L2m7vnx+Wbs/RKsx3ZOIX+ggeMJYt5ADMvWTgeYLJ/ZIWXMlwNdEmQIlLN0KZgAE0Fa+lRWNAG1vLtgI9dvbDNo6pGUyQd8QguEenVgfZBkrpCwM7/xG5S69faUhi0Yf56xpvxTRaCwVwNegjhxCE0SxBe/ySQ5NUyFIXDl/7rKVXzuBxzpE+2hFc9GPZ+7ivsK6sjw19vhRMjP6MgDpGQI+IXxnYD55bwzK5mNGJe8a0f4zYwYS8Qa527gDVcsd2XHFTN0B8m+tQLnDa9MSl7a8ntzrRY0KlTeLuMLSWbpv6wTq7TVI3hRUOn/6xlMblxxzqJWkj3sXk0ZUWsrSE8OcbVUkmmC2z3OZxB3Ty0j0C4V++6qfNBpjIkGw30FIx60GHGEZhc65OKAvR40893UuBTDJrme1++C56OxWPHHKMM/5y+9Ue3SPJiqWy0h6AmTUmzNYmtzuznlZx+ygvTVkbzF8Yd+I]] 0x40002acd80 701 [] false 127.0.0.1:39293 map[] map[] map[] 127.0.0.1:35516 /api/devices/v1/authentication/auth_requests 0x40002acdc0}" +time="2025-02-08T06:08:33Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Sat, 08 Feb 2025 06:08:33 GMT]] 0x40005b6500 0 [] false false map[] 0x400009c200 }" +time="2025-02-08T06:08:33Z" 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="2025-02-08T06:08:33Z" level=debug msg="Received response:401 Unauthorized" +time="2025-02-08T06:08:33Z" level=warning msg="Client not authorized to get update schedule." +time="2025-02-08T06:08:33Z" level=error msg="Error receiving scheduled update data: (request_id: ): client not authorized server error message: failed to parse server response: EOF" +--- PASS: TestAuthToken (0.84s) === RUN TestMenderInventoryRefresh -time="2024-01-06T23:39:14Z" level=debug msg="Private key does not exist" -time="2024-01-06T23:39:14Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-06T23:39:14Z" level=info msg="authorization data present and valid, skipping authorization attempt" -time="2024-01-06T23:39:14Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-491464308/artifact_info file." -time="2024-01-06T23:39:14Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-491464308/artifact_info" -time="2024-01-06T23:39:14Z" level=debug msg="artifact_name=fake-id" -time="2024-01-06T23:39:14Z" level=debug msg="Current manifest data: fake-id" -time="2024-01-06T23:39:14Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-491464308/device_type" -time="2024-01-06T23:39:14Z" level=debug msg="device_type=foo-bar" -time="2024-01-06T23:39:14Z" level=debug msg="Current manifest data: foo-bar" -time="2024-01-06T23:39:14Z" level=info msg="got inventory request &{PATCH /api/devices/v1/inventory/device/attributes HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[137] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x4000677480 137 [] false 127.0.0.1:38441 map[] map[] map[] 127.0.0.1:53262 /api/devices/v1/inventory/device/attributes 0x40006774c0}" -time="2024-01-06T23:39:14Z" level=info msg="got attrs: [{artifact_name fake-id} {mender_client_version unknown} {device_type foo-bar}]" -time="2024-01-06T23:39:14Z" level=debug msg="Inventory update sent, response &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Sat, 06 Jan 2024 23:39:14 GMT]] 0x4000679d00 0 [] false false map[] 0x40000a9300 }" -time="2024-01-06T23:39:14Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-491464308/artifact_info file." -time="2024-01-06T23:39:14Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-491464308/artifact_info" -time="2024-01-06T23:39:14Z" level=debug msg="artifact_name=fake-id" -time="2024-01-06T23:39:14Z" level=debug msg="Current manifest data: fake-id" -time="2024-01-06T23:39:14Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-491464308/device_type" -time="2024-01-06T23:39:14Z" level=debug msg="device_type=foo-bar" -time="2024-01-06T23:39:14Z" level=debug msg="Current manifest data: foo-bar" -time="2024-01-06T23:39:14Z" level=info msg="got inventory request &{PATCH /api/devices/v1/inventory/device/attributes HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[166] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x4000677840 166 [] false 127.0.0.1:38441 map[] map[] map[] 127.0.0.1:53262 /api/devices/v1/inventory/device/attributes 0x4000677880}" -time="2024-01-06T23:39:14Z" level=info msg="got attrs: [{foo bar} {device_type foo-bar} {artifact_name fake-id} {mender_client_version unknown}]" -time="2024-01-06T23:39:14Z" level=debug msg="Inventory update sent, response &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Sat, 06 Jan 2024 23:39:14 GMT]] 0x4000312560 0 [] false false map[] 0x40000a9900 }" -time="2024-01-06T23:39:14Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-491464308/artifact_info file." -time="2024-01-06T23:39:14Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-491464308/artifact_info" -time="2024-01-06T23:39:14Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-491464308/artifact_info file." -time="2024-01-06T23:39:14Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-491464308/artifact_info" +time="2025-02-08T06:08:33Z" level=debug msg="Private key does not exist" +time="2025-02-08T06:08:33Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2025-02-08T06:08:33Z" level=info msg="authorization data present and valid, skipping authorization attempt" +time="2025-02-08T06:08:33Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-744677046/artifact_info file." +time="2025-02-08T06:08:33Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-744677046/artifact_info" +time="2025-02-08T06:08:33Z" level=debug msg="artifact_name=fake-id" +time="2025-02-08T06:08:33Z" level=debug msg="Current manifest data: fake-id" +time="2025-02-08T06:08:33Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-744677046/device_type" +time="2025-02-08T06:08:33Z" level=debug msg="device_type=foo-bar" +time="2025-02-08T06:08:33Z" level=debug msg="Current manifest data: foo-bar" +time="2025-02-08T06:08:33Z" 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]] 0x40006da8c0 137 [] false 127.0.0.1:46207 map[] map[] map[] 127.0.0.1:51826 /api/devices/v1/inventory/device/attributes 0x40006da900}" +time="2025-02-08T06:08:33Z" level=info msg="got attrs: [{device_type foo-bar} {artifact_name fake-id} {mender_client_version unknown}]" +time="2025-02-08T06:08:33Z" level=debug msg="Inventory update sent, response &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Sat, 08 Feb 2025 06:08:33 GMT]] 0x40003ac3e0 0 [] false false map[] 0x400009c600 }" +time="2025-02-08T06:08:33Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-744677046/artifact_info file." +time="2025-02-08T06:08:33Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-744677046/artifact_info" +time="2025-02-08T06:08:33Z" level=debug msg="artifact_name=fake-id" +time="2025-02-08T06:08:33Z" level=debug msg="Current manifest data: fake-id" +time="2025-02-08T06:08:33Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-744677046/device_type" +time="2025-02-08T06:08:33Z" level=debug msg="device_type=foo-bar" +time="2025-02-08T06:08:33Z" level=debug msg="Current manifest data: foo-bar" +time="2025-02-08T06:08:33Z" 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]] 0x4000020f40 166 [] false 127.0.0.1:46207 map[] map[] map[] 127.0.0.1:51826 /api/devices/v1/inventory/device/attributes 0x4000020f80}" +time="2025-02-08T06:08:33Z" level=info msg="got attrs: [{foo bar} {device_type foo-bar} {artifact_name fake-id} {mender_client_version unknown}]" +time="2025-02-08T06:08:33Z" level=debug msg="Inventory update sent, response &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Sat, 08 Feb 2025 06:08:33 GMT]] 0x40005b6fa0 0 [] false false map[] 0x4000450500 }" +time="2025-02-08T06:08:33Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-744677046/artifact_info file." +time="2025-02-08T06:08:33Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-744677046/artifact_info" +time="2025-02-08T06:08:33Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-744677046/artifact_info file." +time="2025-02-08T06:08:33Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-744677046/artifact_info" --- PASS: TestMenderInventoryRefresh (0.01s) === RUN TestMenderStoreUpdate -time="2024-01-06T23:39:14Z" level=debug msg="Private key does not exist" -time="2024-01-06T23:39:14Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-06T23:39:14Z" level=error msg="Unable to verify the existing hardware. Update will continue anyway: : open /tmp/mender-install-update-665846214/device_type: no such file or directory" -time="2024-01-06T23:39:14Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:14Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" -time="2024-01-06T23:39:14Z" level=error msg="Unable to verify the existing hardware. Update will continue anyway: : open /tmp/mender-install-update-665846214/device_type: no such file or directory" -time="2024-01-06T23:39:14Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:14Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" -time="2024-01-06T23:39:14Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-665846214/device_type" -time="2024-01-06T23:39:14Z" level=debug msg="device_type=bogusdevicetype" -time="2024-01-06T23:39:14Z" level=debug msg="Current manifest data: bogusdevicetype" -time="2024-01-06T23:39:14Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:14Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" -time="2024-01-06T23:39:14Z" level=debug msg="Checking if device [bogusdevicetype] is on compatible device list: [vexpress-qemu]\n" -time="2024-01-06T23:39:14Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-665846214/device_type" -time="2024-01-06T23:39:14Z" level=debug msg="device_type=vexpress-qemu" -time="2024-01-06T23:39:14Z" level=debug msg="Current manifest data: vexpress-qemu" -time="2024-01-06T23:39:14Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:14Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" -time="2024-01-06T23:39:14Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" -time="2024-01-06T23:39:14Z" level=debug msg="Installer: Successfully read artifact [name: mender-1.1; version: 2; compatible devices: [vexpress-qemu]]" -time="2024-01-06T23:39:14Z" level=debug msg="Private key does not exist" -time="2024-01-06T23:39:14Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-06T23:39:14Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-665846214/device_type" -time="2024-01-06T23:39:14Z" level=debug msg="device_type=vexpress-qemu" -time="2024-01-06T23:39:14Z" level=debug msg="Current manifest data: vexpress-qemu" -time="2024-01-06T23:39:14Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:14Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" -time="2024-01-06T23:39:14Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" -time="2024-01-06T23:39:14Z" level=debug msg="Installer: Successfully read artifact [name: mender-1.1; version: 2; compatible devices: [vexpress-qemu]]" ---- PASS: TestMenderStoreUpdate (0.14s) +time="2025-02-08T06:08:33Z" level=debug msg="Private key does not exist" +time="2025-02-08T06:08:33Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2025-02-08T06:08:33Z" level=error msg="Unable to verify the existing hardware. Update will continue anyway: : open /tmp/mender-install-update-479930200/device_type: no such file or directory" +time="2025-02-08T06:08:33Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:33Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" +time="2025-02-08T06:08:33Z" level=error msg="Unable to verify the existing hardware. Update will continue anyway: : open /tmp/mender-install-update-479930200/device_type: no such file or directory" +time="2025-02-08T06:08:33Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:33Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" +time="2025-02-08T06:08:33Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-479930200/device_type" +time="2025-02-08T06:08:33Z" level=debug msg="device_type=bogusdevicetype" +time="2025-02-08T06:08:33Z" level=debug msg="Current manifest data: bogusdevicetype" +time="2025-02-08T06:08:33Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:33Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" +time="2025-02-08T06:08:33Z" level=debug msg="Checking if device [bogusdevicetype] is on compatible device list: [vexpress-qemu]\n" +time="2025-02-08T06:08:33Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-479930200/device_type" +time="2025-02-08T06:08:33Z" level=debug msg="device_type=vexpress-qemu" +time="2025-02-08T06:08:33Z" level=debug msg="Current manifest data: vexpress-qemu" +time="2025-02-08T06:08:33Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:33Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" +time="2025-02-08T06:08:33Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" +time="2025-02-08T06:08:33Z" level=debug msg="Installer: Successfully read artifact [name: mender-1.1; version: 2; compatible devices: [vexpress-qemu]]" +time="2025-02-08T06:08:33Z" level=debug msg="Private key does not exist" +time="2025-02-08T06:08:33Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2025-02-08T06:08:33Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-479930200/device_type" +time="2025-02-08T06:08:33Z" level=debug msg="device_type=vexpress-qemu" +time="2025-02-08T06:08:33Z" level=debug msg="Current manifest data: vexpress-qemu" +time="2025-02-08T06:08:33Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:33Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" +time="2025-02-08T06:08:33Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" +time="2025-02-08T06:08:33Z" level=debug msg="Installer: Successfully read artifact [name: mender-1.1; version: 2; compatible devices: [vexpress-qemu]]" +--- PASS: TestMenderStoreUpdate (0.02s) === RUN TestMenderFetchUpdate -time="2024-01-06T23:39:14Z" level=debug msg="Private key does not exist" -time="2024-01-06T23:39:14Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-06T23:39:14Z" level=info msg="authorization data present and valid, skipping authorization attempt" -time="2024-01-06T23:39:14Z" level=warning msg="RetryPollIntervalSeconds is not defined" -time="2024-01-06T23:39:14Z" level=info msg="got update download request &{GET /api/devices/v1/download HTTP/1.1 1 1 map[Accept-Encoding:[gzip] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:37191 map[] map[] map[] 127.0.0.1:59160 /api/devices/v1/download 0x400022e480}" -time="2024-01-06T23:39:14Z" level=debug msg="Received fetch update response &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[8192] Content-Type:[application/octet-stream] Date:[Sat, 06 Jan 2024 23:39:14 GMT]] 0x40003124c0 8192 [] false false map[] 0x400015e100 }+" ---- PASS: TestMenderFetchUpdate (0.01s) +time="2025-02-08T06:08:33Z" level=debug msg="Private key does not exist" +time="2025-02-08T06:08:33Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2025-02-08T06:08:33Z" level=info msg="authorization data present and valid, skipping authorization attempt" +time="2025-02-08T06:08:33Z" level=warning msg="RetryPollIntervalSeconds is not defined" +time="2025-02-08T06:08:33Z" 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:40287 map[] map[] map[] 127.0.0.1:35534 /api/devices/v1/download 0x400009c400}" +time="2025-02-08T06:08:33Z" level=debug msg="Received fetch update response &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[8192] Content-Type:[application/octet-stream] Date:[Sat, 08 Feb 2025 06:08:33 GMT]] 0x40002680a0 8192 [] false false map[] 0x400017a100 }+" +--- PASS: TestMenderFetchUpdate (0.00s) === RUN TestReauthorization -time="2024-01-06T23:39:14Z" level=debug msg="Private key does not exist" -time="2024-01-06T23:39:14Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-06T23:39:14Z" level=debug msg="Needs keys" -time="2024-01-06T23:39:14Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2024-01-06T23:39:15Z" level=debug msg="Tenant token: " -time="2024-01-06T23:39:15Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAx0Cwn8ZQBDupHablNug8\nuGQHQZyaUqIiVn6KWmJAuF8rqLWYDprjHSDytyczGTH5AfuIegC7xCD/HU+WARYz\njyEGgjKi1HyCQO6SN2R6f5fsGgbzPXbUw6QoB+hKspr1r4P3MNjtFqm19oP8hzG7\nlufrQCYlmTVAIDuD+OVqXxASXaBTAlLHuVScBdu16DsHZgb2qtZ7Gj5J2Ujno8LU\nU1oHe+rzULJFxkAcczVF3kkcmgDwewPAS1jqbQrblRRI1ZhSnTehhdxMit0az7eC\nt/yH8sWZTadK7x5Z9E5a0ACxtRG8ZlLx2cqSz1ME7Yvqif3KoYXP/V8LpfltLLdo\nkNLYwpFDtlBcbtYtHD8+owVgx41rI48ea9cWdsI8hD1HSj7t2U9JnTPIv2EFeUqI\nXt1DIGZ/XLuzFXoclnejMlaf7NaOD0bUBtIeDC6Op3yE6BLfgp2Mp9YzzV+vOMlj\n2rRRjd8YdXITI5mb9gcYOy4SgD7/g7x3aIFKE1Q3xzC7AgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2024-01-06T23:39:15Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:33187" -time="2024-01-06T23:39:15Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[xnzuzVhCJxA9yZGnX8sv0uZ1svKHc88sobQ3mbfJ8z8dsHCxlMGLrOBGlI+YphLAlFU3v9trDedkrfiyrhFCMjlVYw2KPTGJo1Feo8TckFIIi2d9A9NWHLde7Osq9JjD7VEFVhavhg10Fq7TrosiY+FWnRU4GnQIOvbNaAagg3LqA+pt/NY9cf5zlc9MvNAiT++xCs4Bdk3D5sB0wMLTbTqgTfWEledwbBsuV9nzUHJO4b3/h91cjOQTcimwm/5ZZwT1ijW7OcOf7f5kmjm1i0pAA9RDPoq6INdrfhukl9kgQIUCanySKs9XyeWXcBBFxZyWS7JTRoOVUNzTzAkmxGPQ8JOdtfng71JGZedQBvN8oDnTqRIIumwWpSVMg3FHpFk6uXuQLSgNkG8Cx+HgbaWCDniwFLyDyxL6dczLcReTNf/lztYEigsE/3VboAXiDfPU/WPTqaI0DL4l1+BPdEHF6QyAN0XEk3YRkS9lrhoDlC3CiFPvi3JLhxsPVo7E]] 0x400022e700 701 [] false 127.0.0.1:33187 map[] map[] map[] 127.0.0.1:36056 /api/devices/v1/authentication/auth_requests 0x400022e740}" -time="2024-01-06T23:39:15Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[3] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 06 Jan 2024 23:39:15 GMT]] 0x4000342260 3 [] false false map[] 0x400015e500 }" -time="2024-01-06T23:39:15Z" level=debug msg="Receive response data" -time="2024-01-06T23:39:15Z" level=debug msg="Received response data: [102 111 111]" -time="2024-01-06T23:39:15Z" level=info msg="successfully received new authorization data" -time="2024-01-06T23:39:15Z" level=debug msg="Returning artifact name from artifact_info file." -time="2024-01-06T23:39:15Z" level=debug msg="Reading data from the device manifest file: artifact_info" -time="2024-01-06T23:39:15Z" level=debug msg="artifact_name=mender-image" -time="2024-01-06T23:39:15Z" level=debug msg="Current manifest data: mender-image" -time="2024-01-06T23:39:15Z" level=debug msg="Reading data from the device manifest file: device_type" -time="2024-01-06T23:39:15Z" level=debug msg="device_type=dev" -time="2024-01-06T23:39:15Z" level=debug msg="Current manifest data: dev" -time="2024-01-06T23:39:15Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer foo] Content-Length:[52] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x4000676280 52 [] false 127.0.0.1:33187 map[] map[] map[] 127.0.0.1:36056 /api/devices/v1/deployments/device/deployments/next 0x40006762c0}" -time="2024-01-06T23:39:15Z" level=error msg="bad token, got Bearer foo expected bar" -time="2024-01-06T23:39:15Z" level=info msg="Device unauthorized; attempting reauthorization" -time="2024-01-06T23:39:15Z" level=debug msg="Tenant token: " -time="2024-01-06T23:39:15Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAx0Cwn8ZQBDupHablNug8\nuGQHQZyaUqIiVn6KWmJAuF8rqLWYDprjHSDytyczGTH5AfuIegC7xCD/HU+WARYz\njyEGgjKi1HyCQO6SN2R6f5fsGgbzPXbUw6QoB+hKspr1r4P3MNjtFqm19oP8hzG7\nlufrQCYlmTVAIDuD+OVqXxASXaBTAlLHuVScBdu16DsHZgb2qtZ7Gj5J2Ujno8LU\nU1oHe+rzULJFxkAcczVF3kkcmgDwewPAS1jqbQrblRRI1ZhSnTehhdxMit0az7eC\nt/yH8sWZTadK7x5Z9E5a0ACxtRG8ZlLx2cqSz1ME7Yvqif3KoYXP/V8LpfltLLdo\nkNLYwpFDtlBcbtYtHD8+owVgx41rI48ea9cWdsI8hD1HSj7t2U9JnTPIv2EFeUqI\nXt1DIGZ/XLuzFXoclnejMlaf7NaOD0bUBtIeDC6Op3yE6BLfgp2Mp9YzzV+vOMlj\n2rRRjd8YdXITI5mb9gcYOy4SgD7/g7x3aIFKE1Q3xzC7AgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2024-01-06T23:39:15Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:33187" -time="2024-01-06T23:39:15Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[xnzuzVhCJxA9yZGnX8sv0uZ1svKHc88sobQ3mbfJ8z8dsHCxlMGLrOBGlI+YphLAlFU3v9trDedkrfiyrhFCMjlVYw2KPTGJo1Feo8TckFIIi2d9A9NWHLde7Osq9JjD7VEFVhavhg10Fq7TrosiY+FWnRU4GnQIOvbNaAagg3LqA+pt/NY9cf5zlc9MvNAiT++xCs4Bdk3D5sB0wMLTbTqgTfWEledwbBsuV9nzUHJO4b3/h91cjOQTcimwm/5ZZwT1ijW7OcOf7f5kmjm1i0pAA9RDPoq6INdrfhukl9kgQIUCanySKs9XyeWXcBBFxZyWS7JTRoOVUNzTzAkmxGPQ8JOdtfng71JGZedQBvN8oDnTqRIIumwWpSVMg3FHpFk6uXuQLSgNkG8Cx+HgbaWCDniwFLyDyxL6dczLcReTNf/lztYEigsE/3VboAXiDfPU/WPTqaI0DL4l1+BPdEHF6QyAN0XEk3YRkS9lrhoDlC3CiFPvi3JLhxsPVo7E]] 0x4000676700 701 [] false 127.0.0.1:33187 map[] map[] map[] 127.0.0.1:36056 /api/devices/v1/authentication/auth_requests 0x4000676740}" -time="2024-01-06T23:39:15Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[3] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 06 Jan 2024 23:39:15 GMT]] 0x40004c4aa0 3 [] false false map[] 0x400027c300 }" -time="2024-01-06T23:39:15Z" level=debug msg="Receive response data" -time="2024-01-06T23:39:15Z" level=debug msg="Received response data: [98 97 114]" -time="2024-01-06T23:39:15Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer bar] Content-Length:[52] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x4000676980 52 [] false 127.0.0.1:33187 map[] map[] map[] 127.0.0.1:36056 /api/devices/v1/deployments/device/deployments/next 0x40006769c0}" -time="2024-01-06T23:39:15Z" level=debug msg="device provides not accepted by the server. Response code: 400" -time="2024-01-06T23:39:15Z" level=info msg="got update request &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer bar] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:33187 map[] map[] map[] 127.0.0.1:36060 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x4000676c40}" -time="2024-01-06T23:39:15Z" level=info msg="Valid update request GET: &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer bar] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:33187 map[] map[] map[] 127.0.0.1:36060 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x4000676c40}" -time="2024-01-06T23:39:15Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" -time="2024-01-06T23:39:15Z" level=debug msg="Received response:204 No Content" -time="2024-01-06T23:39:15Z" level=debug msg="No update available" -time="2024-01-06T23:39:15Z" level=debug msg="no updates available" -time="2024-01-06T23:39:15Z" level=debug msg="Returning artifact name from artifact_info file." -time="2024-01-06T23:39:15Z" level=debug msg="Reading data from the device manifest file: artifact_info" -time="2024-01-06T23:39:15Z" level=debug msg="artifact_name=mender-image" -time="2024-01-06T23:39:15Z" level=debug msg="Current manifest data: mender-image" -time="2024-01-06T23:39:15Z" level=debug msg="Reading data from the device manifest file: device_type" -time="2024-01-06T23:39:15Z" level=debug msg="device_type=dev" -time="2024-01-06T23:39:15Z" level=debug msg="Current manifest data: dev" -time="2024-01-06T23:39:15Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer bar] Content-Length:[52] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x4000677040 52 [] false 127.0.0.1:33187 map[] map[] map[] 127.0.0.1:36060 /api/devices/v1/deployments/device/deployments/next 0x4000677080}" -time="2024-01-06T23:39:15Z" level=error msg="bad token, got Bearer bar expected foo" -time="2024-01-06T23:39:15Z" level=info msg="Device unauthorized; attempting reauthorization" -time="2024-01-06T23:39:15Z" level=debug msg="Tenant token: " -time="2024-01-06T23:39:15Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAx0Cwn8ZQBDupHablNug8\nuGQHQZyaUqIiVn6KWmJAuF8rqLWYDprjHSDytyczGTH5AfuIegC7xCD/HU+WARYz\njyEGgjKi1HyCQO6SN2R6f5fsGgbzPXbUw6QoB+hKspr1r4P3MNjtFqm19oP8hzG7\nlufrQCYlmTVAIDuD+OVqXxASXaBTAlLHuVScBdu16DsHZgb2qtZ7Gj5J2Ujno8LU\nU1oHe+rzULJFxkAcczVF3kkcmgDwewPAS1jqbQrblRRI1ZhSnTehhdxMit0az7eC\nt/yH8sWZTadK7x5Z9E5a0ACxtRG8ZlLx2cqSz1ME7Yvqif3KoYXP/V8LpfltLLdo\nkNLYwpFDtlBcbtYtHD8+owVgx41rI48ea9cWdsI8hD1HSj7t2U9JnTPIv2EFeUqI\nXt1DIGZ/XLuzFXoclnejMlaf7NaOD0bUBtIeDC6Op3yE6BLfgp2Mp9YzzV+vOMlj\n2rRRjd8YdXITI5mb9gcYOy4SgD7/g7x3aIFKE1Q3xzC7AgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2024-01-06T23:39:15Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:33187" -time="2024-01-06T23:39:15Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[xnzuzVhCJxA9yZGnX8sv0uZ1svKHc88sobQ3mbfJ8z8dsHCxlMGLrOBGlI+YphLAlFU3v9trDedkrfiyrhFCMjlVYw2KPTGJo1Feo8TckFIIi2d9A9NWHLde7Osq9JjD7VEFVhavhg10Fq7TrosiY+FWnRU4GnQIOvbNaAagg3LqA+pt/NY9cf5zlc9MvNAiT++xCs4Bdk3D5sB0wMLTbTqgTfWEledwbBsuV9nzUHJO4b3/h91cjOQTcimwm/5ZZwT1ijW7OcOf7f5kmjm1i0pAA9RDPoq6INdrfhukl9kgQIUCanySKs9XyeWXcBBFxZyWS7JTRoOVUNzTzAkmxGPQ8JOdtfng71JGZedQBvN8oDnTqRIIumwWpSVMg3FHpFk6uXuQLSgNkG8Cx+HgbaWCDniwFLyDyxL6dczLcReTNf/lztYEigsE/3VboAXiDfPU/WPTqaI0DL4l1+BPdEHF6QyAN0XEk3YRkS9lrhoDlC3CiFPvi3JLhxsPVo7E]] 0x4000677300 701 [] false 127.0.0.1:33187 map[] map[] map[] 127.0.0.1:36060 /api/devices/v1/authentication/auth_requests 0x4000677340}" -time="2024-01-06T23:39:15Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[3] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 06 Jan 2024 23:39:15 GMT]] 0x40004c5c80 3 [] false false map[] 0x400027d600 }" -time="2024-01-06T23:39:15Z" level=debug msg="Receive response data" -time="2024-01-06T23:39:15Z" level=debug msg="Received response data: [102 111 111]" -time="2024-01-06T23:39:15Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer foo] Content-Length:[52] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x4000677580 52 [] false 127.0.0.1:33187 map[] map[] map[] 127.0.0.1:36060 /api/devices/v1/deployments/device/deployments/next 0x40006775c0}" -time="2024-01-06T23:39:15Z" level=debug msg="device provides not accepted by the server. Response code: 400" -time="2024-01-06T23:39:15Z" level=info msg="got update request &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer foo] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:33187 map[] map[] map[] 127.0.0.1:36068 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x4000677880}" -time="2024-01-06T23:39:15Z" level=info msg="Valid update request GET: &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer foo] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:33187 map[] map[] map[] 127.0.0.1:36068 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x4000677880}" -time="2024-01-06T23:39:15Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" -time="2024-01-06T23:39:15Z" level=info msg="Device unauthorized; attempting reauthorization" -time="2024-01-06T23:39:15Z" level=debug msg="Tenant token: " -time="2024-01-06T23:39:15Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAx0Cwn8ZQBDupHablNug8\nuGQHQZyaUqIiVn6KWmJAuF8rqLWYDprjHSDytyczGTH5AfuIegC7xCD/HU+WARYz\njyEGgjKi1HyCQO6SN2R6f5fsGgbzPXbUw6QoB+hKspr1r4P3MNjtFqm19oP8hzG7\nlufrQCYlmTVAIDuD+OVqXxASXaBTAlLHuVScBdu16DsHZgb2qtZ7Gj5J2Ujno8LU\nU1oHe+rzULJFxkAcczVF3kkcmgDwewPAS1jqbQrblRRI1ZhSnTehhdxMit0az7eC\nt/yH8sWZTadK7x5Z9E5a0ACxtRG8ZlLx2cqSz1ME7Yvqif3KoYXP/V8LpfltLLdo\nkNLYwpFDtlBcbtYtHD8+owVgx41rI48ea9cWdsI8hD1HSj7t2U9JnTPIv2EFeUqI\nXt1DIGZ/XLuzFXoclnejMlaf7NaOD0bUBtIeDC6Op3yE6BLfgp2Mp9YzzV+vOMlj\n2rRRjd8YdXITI5mb9gcYOy4SgD7/g7x3aIFKE1Q3xzC7AgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2024-01-06T23:39:15Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:33187" -time="2024-01-06T23:39:15Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[xnzuzVhCJxA9yZGnX8sv0uZ1svKHc88sobQ3mbfJ8z8dsHCxlMGLrOBGlI+YphLAlFU3v9trDedkrfiyrhFCMjlVYw2KPTGJo1Feo8TckFIIi2d9A9NWHLde7Osq9JjD7VEFVhavhg10Fq7TrosiY+FWnRU4GnQIOvbNaAagg3LqA+pt/NY9cf5zlc9MvNAiT++xCs4Bdk3D5sB0wMLTbTqgTfWEledwbBsuV9nzUHJO4b3/h91cjOQTcimwm/5ZZwT1ijW7OcOf7f5kmjm1i0pAA9RDPoq6INdrfhukl9kgQIUCanySKs9XyeWXcBBFxZyWS7JTRoOVUNzTzAkmxGPQ8JOdtfng71JGZedQBvN8oDnTqRIIumwWpSVMg3FHpFk6uXuQLSgNkG8Cx+HgbaWCDniwFLyDyxL6dczLcReTNf/lztYEigsE/3VboAXiDfPU/WPTqaI0DL4l1+BPdEHF6QyAN0XEk3YRkS9lrhoDlC3CiFPvi3JLhxsPVo7E]] 0x40002bc1c0 701 [] false 127.0.0.1:33187 map[] map[] map[] 127.0.0.1:36068 /api/devices/v1/authentication/auth_requests 0x40002bc200}" -time="2024-01-06T23:39:15Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[3] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 06 Jan 2024 23:39:15 GMT]] 0x40006785c0 3 [] false false map[] 0x40002e8100 }" -time="2024-01-06T23:39:15Z" level=debug msg="Receive response data" -time="2024-01-06T23:39:15Z" level=debug msg="Received response data: [102 111 111]" -time="2024-01-06T23:39:15Z" level=info msg="got update request &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer foo] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:33187 map[] map[] map[] 127.0.0.1:36068 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x40002bc4c0}" -time="2024-01-06T23:39:15Z" level=info msg="Valid update request GET: &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer foo] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:33187 map[] map[] map[] 127.0.0.1:36068 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x40002bc4c0}" -time="2024-01-06T23:39:15Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" -time="2024-01-06T23:39:15Z" level=debug msg="Received response:401 Unauthorized" -time="2024-01-06T23:39:15Z" level=warning msg="Client not authorized to get update schedule." -time="2024-01-06T23:39:15Z" level=error msg="Error receiving scheduled update data: (request_id: ): client not authorized server error message: failed to parse server response: EOF" ---- PASS: TestReauthorization (0.61s) +time="2025-02-08T06:08:33Z" level=debug msg="Private key does not exist" +time="2025-02-08T06:08:33Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2025-02-08T06:08:33Z" level=debug msg="Needs keys" +time="2025-02-08T06:08:33Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2025-02-08T06:08:34Z" level=debug msg="Tenant token: " +time="2025-02-08T06:08:34Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAoFXV0cBAOJw2FG8FIRuI\nm9+Ulz1XysY9TlfjMjazOde6QyOM+2hbcYAW0m9xhshHtFGagmmvfpPOOu+2DH12\nzAfRHWU0ECYlnnnrNcDbrxOxSnr7kDQ4lIiz13rAiSIi/iX2OoOzVxdPXV3vNFiE\nGoVVlm/cgomwjHNyY9VgbTnH6STK1bCm/yhjw9+VxtT0ez3C1k59h7RyRqAEmL6w\npME0Mq/8gF6lT3cT52ySejtAjsZv3RShKTNZY93jKwitj+mBSlWgJRpYM3P4no3C\nDKTEEvw6GdwONWYlU1dNaoBzwbMKGCNmTycIERmD4MJjsOtdqUFv9LoYogcynUoH\nCDu6p0DJPM5AHsmTjChZzeTo6l+eAYJuX7xu00cHmXLqvUEzBHK5AYmgin0U7KOG\nomd/naIyVNVarYmeXpY4sDu+XJXpTJtx6zkjzOT+vFCJmzO/npDWbNRdt9lj5t1U\nknQlNIxuUDur5hrbNMTT0JpxTo4coHqs6GIpwXOOwRAVAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2025-02-08T06:08:34Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:35333" +time="2025-02-08T06:08:34Z" 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:[lXH4wKhtnFADAA0EKE4r0Pbz5YcvAh8kGIiFV61miKUYQPZB3e22ubKDzIwReNzPNNwjQTWOZ8KLuaqafREPGCIo6Eky/7Or2tX38/HOlb1ypwHEjstWYRQSQKp0Q2iQL+SBHBdNAyCIegjSxjXGEOI841TBxE2tXzspaDty/06NYA4/dDoYcluscxNO7bQS9beLvuI/aTjYBlvlHjIzlbkezy7l7Q93snoiaARzm85p8umYRUyYZE4EoM9cPJK3LWsgaRr5Iel/xGKnuim0J7KbkeqonoRBwWQg02SlohDp7pfNfdAf96D1Lb2sPgfC3vXkYivv3T7VCmVNgtmBdKPuntdWsDuPffAcLW6BeNErD6/bWRIZQf44Jwa/4iI5M1mHZrDzTOR+VodV36vG7wIkNUJtGZbIAfrzgDVdqe4IDkVVDOJyQV3RUqpGhH//2Nnwf9ichKTCiptMfP41pyE3uDxRL1Xzyjh0CepZHRRlfSyEk2Ulc5SmrFq5Fp6O]] 0x40001a4000 701 [] false 127.0.0.1:35333 map[] map[] map[] 127.0.0.1:59550 /api/devices/v1/authentication/auth_requests 0x40001a4040}" +time="2025-02-08T06:08:34Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[3] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 08 Feb 2025 06:08:34 GMT]] 0x4000268220 3 [] false false map[] 0x400017a400 }" +time="2025-02-08T06:08:34Z" level=debug msg="Receive response data" +time="2025-02-08T06:08:34Z" level=debug msg="Received response data: [102 111 111]" +time="2025-02-08T06:08:34Z" level=info msg="successfully received new authorization data" +time="2025-02-08T06:08:34Z" level=debug msg="Returning artifact name from artifact_info file." +time="2025-02-08T06:08:34Z" level=debug msg="Reading data from the device manifest file: artifact_info" +time="2025-02-08T06:08:34Z" level=debug msg="artifact_name=mender-image" +time="2025-02-08T06:08:34Z" level=debug msg="Current manifest data: mender-image" +time="2025-02-08T06:08:34Z" level=debug msg="Reading data from the device manifest file: device_type" +time="2025-02-08T06:08:34Z" level=debug msg="device_type=dev" +time="2025-02-08T06:08:34Z" level=debug msg="Current manifest data: dev" +time="2025-02-08T06:08:34Z" 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]] 0x40001a4100 52 [] false 127.0.0.1:35333 map[] map[] map[] 127.0.0.1:59550 /api/devices/v1/deployments/device/deployments/next 0x40001a4140}" +time="2025-02-08T06:08:34Z" level=error msg="bad token, got Bearer foo expected bar" +time="2025-02-08T06:08:34Z" level=info msg="Device unauthorized; attempting reauthorization" +time="2025-02-08T06:08:34Z" level=debug msg="Tenant token: " +time="2025-02-08T06:08:34Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAoFXV0cBAOJw2FG8FIRuI\nm9+Ulz1XysY9TlfjMjazOde6QyOM+2hbcYAW0m9xhshHtFGagmmvfpPOOu+2DH12\nzAfRHWU0ECYlnnnrNcDbrxOxSnr7kDQ4lIiz13rAiSIi/iX2OoOzVxdPXV3vNFiE\nGoVVlm/cgomwjHNyY9VgbTnH6STK1bCm/yhjw9+VxtT0ez3C1k59h7RyRqAEmL6w\npME0Mq/8gF6lT3cT52ySejtAjsZv3RShKTNZY93jKwitj+mBSlWgJRpYM3P4no3C\nDKTEEvw6GdwONWYlU1dNaoBzwbMKGCNmTycIERmD4MJjsOtdqUFv9LoYogcynUoH\nCDu6p0DJPM5AHsmTjChZzeTo6l+eAYJuX7xu00cHmXLqvUEzBHK5AYmgin0U7KOG\nomd/naIyVNVarYmeXpY4sDu+XJXpTJtx6zkjzOT+vFCJmzO/npDWbNRdt9lj5t1U\nknQlNIxuUDur5hrbNMTT0JpxTo4coHqs6GIpwXOOwRAVAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2025-02-08T06:08:34Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:35333" +time="2025-02-08T06:08:34Z" 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:[lXH4wKhtnFADAA0EKE4r0Pbz5YcvAh8kGIiFV61miKUYQPZB3e22ubKDzIwReNzPNNwjQTWOZ8KLuaqafREPGCIo6Eky/7Or2tX38/HOlb1ypwHEjstWYRQSQKp0Q2iQL+SBHBdNAyCIegjSxjXGEOI841TBxE2tXzspaDty/06NYA4/dDoYcluscxNO7bQS9beLvuI/aTjYBlvlHjIzlbkezy7l7Q93snoiaARzm85p8umYRUyYZE4EoM9cPJK3LWsgaRr5Iel/xGKnuim0J7KbkeqonoRBwWQg02SlohDp7pfNfdAf96D1Lb2sPgfC3vXkYivv3T7VCmVNgtmBdKPuntdWsDuPffAcLW6BeNErD6/bWRIZQf44Jwa/4iI5M1mHZrDzTOR+VodV36vG7wIkNUJtGZbIAfrzgDVdqe4IDkVVDOJyQV3RUqpGhH//2Nnwf9ichKTCiptMfP41pyE3uDxRL1Xzyjh0CepZHRRlfSyEk2Ulc5SmrFq5Fp6O]] 0x400053c640 701 [] false 127.0.0.1:35333 map[] map[] map[] 127.0.0.1:59550 /api/devices/v1/authentication/auth_requests 0x400053c680}" +time="2025-02-08T06:08:34Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[3] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 08 Feb 2025 06:08:34 GMT]] 0x40005b62a0 3 [] false false map[] 0x4000266100 }" +time="2025-02-08T06:08:34Z" level=debug msg="Receive response data" +time="2025-02-08T06:08:34Z" level=debug msg="Received response data: [98 97 114]" +time="2025-02-08T06:08:34Z" 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]] 0x400023a400 52 [] false 127.0.0.1:35333 map[] map[] map[] 127.0.0.1:59550 /api/devices/v1/deployments/device/deployments/next 0x400023a440}" +time="2025-02-08T06:08:34Z" level=debug msg="device provides not accepted by the server. Response code: 400" +time="2025-02-08T06:08:34Z" 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:35333 map[] map[] map[] 127.0.0.1:59566 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x400053c800}" +time="2025-02-08T06:08:34Z" 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:35333 map[] map[] map[] 127.0.0.1:59566 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x400053c800}" +time="2025-02-08T06:08:34Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" +time="2025-02-08T06:08:34Z" level=debug msg="Received response:204 No Content" +time="2025-02-08T06:08:34Z" level=debug msg="No update available" +time="2025-02-08T06:08:34Z" level=debug msg="no updates available" +time="2025-02-08T06:08:34Z" level=debug msg="Returning artifact name from artifact_info file." +time="2025-02-08T06:08:34Z" level=debug msg="Reading data from the device manifest file: artifact_info" +time="2025-02-08T06:08:34Z" level=debug msg="artifact_name=mender-image" +time="2025-02-08T06:08:34Z" level=debug msg="Current manifest data: mender-image" +time="2025-02-08T06:08:34Z" level=debug msg="Reading data from the device manifest file: device_type" +time="2025-02-08T06:08:34Z" level=debug msg="device_type=dev" +time="2025-02-08T06:08:34Z" level=debug msg="Current manifest data: dev" +time="2025-02-08T06:08:34Z" 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]] 0x400009c700 52 [] false 127.0.0.1:35333 map[] map[] map[] 127.0.0.1:59566 /api/devices/v1/deployments/device/deployments/next 0x400009c740}" +time="2025-02-08T06:08:34Z" level=error msg="bad token, got Bearer bar expected foo" +time="2025-02-08T06:08:34Z" level=info msg="Device unauthorized; attempting reauthorization" +time="2025-02-08T06:08:34Z" level=debug msg="Tenant token: " +time="2025-02-08T06:08:34Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAoFXV0cBAOJw2FG8FIRuI\nm9+Ulz1XysY9TlfjMjazOde6QyOM+2hbcYAW0m9xhshHtFGagmmvfpPOOu+2DH12\nzAfRHWU0ECYlnnnrNcDbrxOxSnr7kDQ4lIiz13rAiSIi/iX2OoOzVxdPXV3vNFiE\nGoVVlm/cgomwjHNyY9VgbTnH6STK1bCm/yhjw9+VxtT0ez3C1k59h7RyRqAEmL6w\npME0Mq/8gF6lT3cT52ySejtAjsZv3RShKTNZY93jKwitj+mBSlWgJRpYM3P4no3C\nDKTEEvw6GdwONWYlU1dNaoBzwbMKGCNmTycIERmD4MJjsOtdqUFv9LoYogcynUoH\nCDu6p0DJPM5AHsmTjChZzeTo6l+eAYJuX7xu00cHmXLqvUEzBHK5AYmgin0U7KOG\nomd/naIyVNVarYmeXpY4sDu+XJXpTJtx6zkjzOT+vFCJmzO/npDWbNRdt9lj5t1U\nknQlNIxuUDur5hrbNMTT0JpxTo4coHqs6GIpwXOOwRAVAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2025-02-08T06:08:34Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:35333" +time="2025-02-08T06:08:34Z" 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:[lXH4wKhtnFADAA0EKE4r0Pbz5YcvAh8kGIiFV61miKUYQPZB3e22ubKDzIwReNzPNNwjQTWOZ8KLuaqafREPGCIo6Eky/7Or2tX38/HOlb1ypwHEjstWYRQSQKp0Q2iQL+SBHBdNAyCIegjSxjXGEOI841TBxE2tXzspaDty/06NYA4/dDoYcluscxNO7bQS9beLvuI/aTjYBlvlHjIzlbkezy7l7Q93snoiaARzm85p8umYRUyYZE4EoM9cPJK3LWsgaRr5Iel/xGKnuim0J7KbkeqonoRBwWQg02SlohDp7pfNfdAf96D1Lb2sPgfC3vXkYivv3T7VCmVNgtmBdKPuntdWsDuPffAcLW6BeNErD6/bWRIZQf44Jwa/4iI5M1mHZrDzTOR+VodV36vG7wIkNUJtGZbIAfrzgDVdqe4IDkVVDOJyQV3RUqpGhH//2Nnwf9ichKTCiptMfP41pyE3uDxRL1Xzyjh0CepZHRRlfSyEk2Ulc5SmrFq5Fp6O]] 0x400023a880 701 [] false 127.0.0.1:35333 map[] map[] map[] 127.0.0.1:59566 /api/devices/v1/authentication/auth_requests 0x400023a8c0}" +time="2025-02-08T06:08:34Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[3] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 08 Feb 2025 06:08:34 GMT]] 0x40005b6da0 3 [] false false map[] 0x40003e8b00 }" +time="2025-02-08T06:08:34Z" level=debug msg="Receive response data" +time="2025-02-08T06:08:34Z" level=debug msg="Received response data: [102 111 111]" +time="2025-02-08T06:08:34Z" 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]] 0x40001a4280 52 [] false 127.0.0.1:35333 map[] map[] map[] 127.0.0.1:59566 /api/devices/v1/deployments/device/deployments/next 0x40001a42c0}" +time="2025-02-08T06:08:34Z" level=debug msg="device provides not accepted by the server. Response code: 400" +time="2025-02-08T06:08:34Z" 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:35333 map[] map[] map[] 127.0.0.1:59582 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x400023ac00}" +time="2025-02-08T06:08:34Z" 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:35333 map[] map[] map[] 127.0.0.1:59582 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x400023ac00}" +time="2025-02-08T06:08:34Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" +time="2025-02-08T06:08:34Z" level=info msg="Device unauthorized; attempting reauthorization" +time="2025-02-08T06:08:34Z" level=debug msg="Tenant token: " +time="2025-02-08T06:08:34Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAoFXV0cBAOJw2FG8FIRuI\nm9+Ulz1XysY9TlfjMjazOde6QyOM+2hbcYAW0m9xhshHtFGagmmvfpPOOu+2DH12\nzAfRHWU0ECYlnnnrNcDbrxOxSnr7kDQ4lIiz13rAiSIi/iX2OoOzVxdPXV3vNFiE\nGoVVlm/cgomwjHNyY9VgbTnH6STK1bCm/yhjw9+VxtT0ez3C1k59h7RyRqAEmL6w\npME0Mq/8gF6lT3cT52ySejtAjsZv3RShKTNZY93jKwitj+mBSlWgJRpYM3P4no3C\nDKTEEvw6GdwONWYlU1dNaoBzwbMKGCNmTycIERmD4MJjsOtdqUFv9LoYogcynUoH\nCDu6p0DJPM5AHsmTjChZzeTo6l+eAYJuX7xu00cHmXLqvUEzBHK5AYmgin0U7KOG\nomd/naIyVNVarYmeXpY4sDu+XJXpTJtx6zkjzOT+vFCJmzO/npDWbNRdt9lj5t1U\nknQlNIxuUDur5hrbNMTT0JpxTo4coHqs6GIpwXOOwRAVAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2025-02-08T06:08:34Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:35333" +time="2025-02-08T06:08:34Z" 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:[lXH4wKhtnFADAA0EKE4r0Pbz5YcvAh8kGIiFV61miKUYQPZB3e22ubKDzIwReNzPNNwjQTWOZ8KLuaqafREPGCIo6Eky/7Or2tX38/HOlb1ypwHEjstWYRQSQKp0Q2iQL+SBHBdNAyCIegjSxjXGEOI841TBxE2tXzspaDty/06NYA4/dDoYcluscxNO7bQS9beLvuI/aTjYBlvlHjIzlbkezy7l7Q93snoiaARzm85p8umYRUyYZE4EoM9cPJK3LWsgaRr5Iel/xGKnuim0J7KbkeqonoRBwWQg02SlohDp7pfNfdAf96D1Lb2sPgfC3vXkYivv3T7VCmVNgtmBdKPuntdWsDuPffAcLW6BeNErD6/bWRIZQf44Jwa/4iI5M1mHZrDzTOR+VodV36vG7wIkNUJtGZbIAfrzgDVdqe4IDkVVDOJyQV3RUqpGhH//2Nnwf9ichKTCiptMfP41pyE3uDxRL1Xzyjh0CepZHRRlfSyEk2Ulc5SmrFq5Fp6O]] 0x40001a4540 701 [] false 127.0.0.1:35333 map[] map[] map[] 127.0.0.1:59582 /api/devices/v1/authentication/auth_requests 0x40001a4580}" +time="2025-02-08T06:08:34Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[3] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 08 Feb 2025 06:08:34 GMT]] 0x40005b7560 3 [] false false map[] 0x4000200700 }" +time="2025-02-08T06:08:34Z" level=debug msg="Receive response data" +time="2025-02-08T06:08:34Z" level=debug msg="Received response data: [102 111 111]" +time="2025-02-08T06:08:34Z" 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:35333 map[] map[] map[] 127.0.0.1:59582 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x400023b000}" +time="2025-02-08T06:08:34Z" 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:35333 map[] map[] map[] 127.0.0.1:59582 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x400023b000}" +time="2025-02-08T06:08:34Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" +time="2025-02-08T06:08:34Z" level=debug msg="Received response:401 Unauthorized" +time="2025-02-08T06:08:34Z" level=warning msg="Client not authorized to get update schedule." +time="2025-02-08T06:08:34Z" level=error msg="Error receiving scheduled update data: (request_id: ): client not authorized server error message: failed to parse server response: EOF" +--- PASS: TestReauthorization (0.67s) === RUN TestFailoverServers -time="2024-01-06T23:39:15Z" level=debug msg="Private key does not exist" -time="2024-01-06T23:39:15Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-06T23:39:15Z" level=debug msg="Needs keys" -time="2024-01-06T23:39:15Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2024-01-06T23:39:16Z" level=debug msg="Tenant token: " -time="2024-01-06T23:39:16Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAoj+i28TktRLH/pv3S2Dn\nG9oOOuwq5ebBnJ6tSipbkJ2+kXNHPAPUAqSDt1xPlp++ZTajfZhZyJnQWkxupJPc\nKV79dWFJAZv5epYydhnBmhab1K6i2Y76HM1vR61qTg45Wi3C8/2hpcu7VZlT9A69\nYletlYvOgm901irqmUyltU2mDOVQuxCzLCanBhfscirZpCJmo+Z+piO3xGYhQ1ac\nbzovfogdiQOBEm3ZQqnHzjpfPeLOn1MyPxe3mBjiClj/E8L0PJUDRa4VSxf0H1A9\noJSzicaNxFVqx10ocdYHDtnugKS8GOZzGqxoPZ7o+rznH5WLsFxl/Fpp0LTerEXY\nSaBM1F8ByDXkRlKRiVcpbiT//nmKBI1IhMJ4Kb3T4xAP3cSElUcI6eEQKg1myDx/\nlyxHht3nldFZCO/ZSyD1XDRgr9RIopxfJ6hjOHTnAdsf99RHtPb5sq3t6jEemRyn\nGVN2qpjCvq+cdQjTcwvfT5z10CuohxkXAhSaMRczBX4dAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2024-01-06T23:39:16Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:34177" -time="2024-01-06T23:39:16Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[APDECMjjz8v8dJUPgAbL9xeu5C/7dpab578r67CGjTc5zHjhnsbegvY8DUE5XX5/2L7NBQQ4mzTY6IRa7x1SiTt5gXSqZYVPourpss7fqNvjGvCWFxcGKTN+Qtez/4CQ524RgkLtqRwF+Y9xQkBh7/5nv1EjiU0MUhpr7v9hkFUiXQHYX7e70QyE9wRWY+7j9mNrc4jPt3qCb+ltpOYk4LESQXqU9MlT1+u7IqtN3J/0O5UFs/gX0we703cSVlnqM6j98IfmE9aOwF0vlrzKjw5SDAyNwfqfvhyRc4tPztRmxH7X9AkHaHFkxXpDrdj0QOE7XPm3E7HkKE2vtUpk4qiCAf83nEcWFnqjqY56ihmuZNlwi5CCFdROAmgyeDFmsG4gAUf/BneuWX61HBas1GLlYbi07od6PBXLyOE/WNSs/GQ5X/H9DIyOMikKlLWNQSUt+ISXGt5Suu0x1pWxwKkmiGtL6G7FnxwveU8n87oeoqLonVxSjU5NITG/YAKU]] 0x4000020500 701 [] false 127.0.0.1:34177 map[] map[] map[] 127.0.0.1:52850 /api/devices/v1/authentication/auth_requests 0x4000020540}" -time="2024-01-06T23:39:16Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Sat, 06 Jan 2024 23:39:16 GMT]] 0x4000312b80 0 [] false false map[] 0x40002e8b00 }" -time="2024-01-06T23:39:16Z" level=warning msg="Failed to authorize \"http://127.0.0.1:34177\"; attempting \"http://127.0.0.1:43363\"." -time="2024-01-06T23:39:16Z" level=debug msg="Tenant token: " -time="2024-01-06T23:39:16Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAoj+i28TktRLH/pv3S2Dn\nG9oOOuwq5ebBnJ6tSipbkJ2+kXNHPAPUAqSDt1xPlp++ZTajfZhZyJnQWkxupJPc\nKV79dWFJAZv5epYydhnBmhab1K6i2Y76HM1vR61qTg45Wi3C8/2hpcu7VZlT9A69\nYletlYvOgm901irqmUyltU2mDOVQuxCzLCanBhfscirZpCJmo+Z+piO3xGYhQ1ac\nbzovfogdiQOBEm3ZQqnHzjpfPeLOn1MyPxe3mBjiClj/E8L0PJUDRa4VSxf0H1A9\noJSzicaNxFVqx10ocdYHDtnugKS8GOZzGqxoPZ7o+rznH5WLsFxl/Fpp0LTerEXY\nSaBM1F8ByDXkRlKRiVcpbiT//nmKBI1IhMJ4Kb3T4xAP3cSElUcI6eEQKg1myDx/\nlyxHht3nldFZCO/ZSyD1XDRgr9RIopxfJ6hjOHTnAdsf99RHtPb5sq3t6jEemRyn\nGVN2qpjCvq+cdQjTcwvfT5z10CuohxkXAhSaMRczBX4dAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2024-01-06T23:39:16Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:43363" -time="2024-01-06T23:39:16Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[APDECMjjz8v8dJUPgAbL9xeu5C/7dpab578r67CGjTc5zHjhnsbegvY8DUE5XX5/2L7NBQQ4mzTY6IRa7x1SiTt5gXSqZYVPourpss7fqNvjGvCWFxcGKTN+Qtez/4CQ524RgkLtqRwF+Y9xQkBh7/5nv1EjiU0MUhpr7v9hkFUiXQHYX7e70QyE9wRWY+7j9mNrc4jPt3qCb+ltpOYk4LESQXqU9MlT1+u7IqtN3J/0O5UFs/gX0we703cSVlnqM6j98IfmE9aOwF0vlrzKjw5SDAyNwfqfvhyRc4tPztRmxH7X9AkHaHFkxXpDrdj0QOE7XPm3E7HkKE2vtUpk4qiCAf83nEcWFnqjqY56ihmuZNlwi5CCFdROAmgyeDFmsG4gAUf/BneuWX61HBas1GLlYbi07od6PBXLyOE/WNSs/GQ5X/H9DIyOMikKlLWNQSUt+ISXGt5Suu0x1pWxwKkmiGtL6G7FnxwveU8n87oeoqLonVxSjU5NITG/YAKU]] 0x4000020d00 701 [] false 127.0.0.1:43363 map[] map[] map[] 127.0.0.1:56832 /api/devices/v1/authentication/auth_requests 0x4000020d40}" -time="2024-01-06T23:39:16Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[3] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 06 Jan 2024 23:39:16 GMT]] 0x4000312f60 3 [] false false map[] 0x40000f8800 }" -time="2024-01-06T23:39:16Z" level=debug msg="Receive response data" -time="2024-01-06T23:39:16Z" level=debug msg="Received response data: [106 119 116]" -time="2024-01-06T23:39:16Z" level=info msg="successfully received new authorization data" -time="2024-01-06T23:39:16Z" level=debug msg="Returning artifact name from artifact_info file." -time="2024-01-06T23:39:16Z" level=debug msg="Reading data from the device manifest file: artifact_info" -time="2024-01-06T23:39:16Z" level=debug msg="artifact_name=mender-image" -time="2024-01-06T23:39:16Z" level=debug msg="Current manifest data: mender-image" -time="2024-01-06T23:39:16Z" level=debug msg="Reading data from the device manifest file: device_type" -time="2024-01-06T23:39:16Z" level=debug msg="device_type=dev" -time="2024-01-06T23:39:16Z" level=debug msg="Current manifest data: dev" -time="2024-01-06T23:39:16Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer jwt] Content-Length:[52] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x40000211c0 52 [] false 127.0.0.1:34177 map[] map[] map[] 127.0.0.1:52850 /api/devices/v1/deployments/device/deployments/next 0x4000021200}" -time="2024-01-06T23:39:16Z" level=warning msg="Server \"http://127.0.0.1:34177\" failed to serve request \"/api/devices/v1/deployments/device/deployments/next\". Attempting \"http://127.0.0.1:43363\"" -time="2024-01-06T23:39:16Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer jwt] Content-Length:[52] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x400022ee80 52 [] false 127.0.0.1:43363 map[] map[] map[] 127.0.0.1:56844 /api/devices/v1/deployments/device/deployments/next 0x400022eec0}" -time="2024-01-06T23:39:16Z" level=debug msg="device provides not accepted by the server. Response code: 400" -time="2024-01-06T23:39:16Z" level=info msg="got update request &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer jwt] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:34177 map[] map[] map[] 127.0.0.1:52858 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x400022f180}" -time="2024-01-06T23:39:16Z" level=info msg="Valid update request GET: &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer jwt] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:34177 map[] map[] map[] 127.0.0.1:52858 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x400022f180}" -time="2024-01-06T23:39:16Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" -2024/01/06 23:39:16 http: panic serving 127.0.0.1:52858: runtime error: invalid memory address or nil pointer dereference -goroutine 225 [running]: -net/http.(*conn).serve.func1(0x40005325a0) +time="2025-02-08T06:08:34Z" level=debug msg="Private key does not exist" +time="2025-02-08T06:08:34Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2025-02-08T06:08:34Z" level=debug msg="Needs keys" +time="2025-02-08T06:08:34Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2025-02-08T06:08:34Z" level=debug msg="Tenant token: " +time="2025-02-08T06:08:34Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAvbnanVnsYepjMsOyD0k2\n8Ug3ho85c+IXdxhP6ESG0HQ5m2f36rXgpLE75yquphhIQRk8sMLTEve+KVRx0YpS\nxDzkD7neRivTElBLZvXAM40BG/i4POFa2kwp2u/OY0J0fn6u+QlY1s1JYhFJn0d0\nwiBjHJ5lrndD4UKMZ+7Sao4A1nWYg+Z2MaUYD2rbDo1+YreM4aGE0PizJZHSF69l\nuw6lUjO06lUm1yNo83SpS6+FZ+vg0mJHFHI322KGpXY2XU0n6wQ5AD+zZqinVesO\nZrsa1+xdeYEpkrFaxYVMKI5W74VoKwSxGt4k1XoMoV6nhQnwQZU9evSg+83gfXa5\nymgneL22HI/j19DplvGjPwVDoBUga0qStd//CxN3h1FIFjkUBX64gKTGlEkyXnP8\noCDjB7RRTkJmmvlCqsr6hR7W0+nF4cfCOvjqmhO9jKHy0t5cBkGtdICr+/dOMs6y\nzRAS33eBRQ79JpzVyHgemzPnjUe0ktS1ie7MnLJNM1bxAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2025-02-08T06:08:34Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:32855" +time="2025-02-08T06:08:34Z" 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:[F6A4UwD0a+737DZwiVfU/4Ae1I3ObdbdnG3MUQujI5W89MDyJ/QVXTlwhgrugcJg2H+5FBXX/tSGGyh/kJzX8uP6rK074Su3dUoGPZSBa3NRNP27y8ps/NIGeDc240vBOHnwm5rkFBWZ4gN9h7cW9zePYOB8xUnMaIpx1TyCEPp5TCp1EI7kM0h/V5e+ktmzPJJUJ3lINHJIDQ0FU4WZ8uAUyjfxkvwxILp0st0qzEIQlxnxynxnT7rTANUH9ehheFayZkMVHfj2acMlsw/1ckQZi3FhSL0FLt3zkqqP6NpR7DkKT/WciOgxEKb932PiFDnDIyvXPtKUrqc2L+rfYCPP8+CDr7uFxKAVcAtqzTAYTB7mWs7jAnjkstNKExq7RWlNjiy50Hik3y9Nqn4IAC2f5kCdGjm1gv736YZ2zGmU74qNi6Ljsov+XHokhn/X/PNRNa7JpGVGRH+tB4b8slekcIai/QfbeuhCd4qwu7R21jJqGh35475sF5URoHjJ]] 0x400053cc80 701 [] false 127.0.0.1:32855 map[] map[] map[] 127.0.0.1:57150 /api/devices/v1/authentication/auth_requests 0x400053ccc0}" +time="2025-02-08T06:08:34Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Sat, 08 Feb 2025 06:08:34 GMT]] 0x40005b79e0 0 [] false false map[] 0x40003e8f00 }" +time="2025-02-08T06:08:34Z" level=warning msg="Failed to authorize \"http://127.0.0.1:32855\"; attempting \"http://127.0.0.1:39109\"." +time="2025-02-08T06:08:34Z" level=debug msg="Tenant token: " +time="2025-02-08T06:08:34Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAvbnanVnsYepjMsOyD0k2\n8Ug3ho85c+IXdxhP6ESG0HQ5m2f36rXgpLE75yquphhIQRk8sMLTEve+KVRx0YpS\nxDzkD7neRivTElBLZvXAM40BG/i4POFa2kwp2u/OY0J0fn6u+QlY1s1JYhFJn0d0\nwiBjHJ5lrndD4UKMZ+7Sao4A1nWYg+Z2MaUYD2rbDo1+YreM4aGE0PizJZHSF69l\nuw6lUjO06lUm1yNo83SpS6+FZ+vg0mJHFHI322KGpXY2XU0n6wQ5AD+zZqinVesO\nZrsa1+xdeYEpkrFaxYVMKI5W74VoKwSxGt4k1XoMoV6nhQnwQZU9evSg+83gfXa5\nymgneL22HI/j19DplvGjPwVDoBUga0qStd//CxN3h1FIFjkUBX64gKTGlEkyXnP8\noCDjB7RRTkJmmvlCqsr6hR7W0+nF4cfCOvjqmhO9jKHy0t5cBkGtdICr+/dOMs6y\nzRAS33eBRQ79JpzVyHgemzPnjUe0ktS1ie7MnLJNM1bxAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2025-02-08T06:08:34Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:39109" +time="2025-02-08T06:08:34Z" 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:[F6A4UwD0a+737DZwiVfU/4Ae1I3ObdbdnG3MUQujI5W89MDyJ/QVXTlwhgrugcJg2H+5FBXX/tSGGyh/kJzX8uP6rK074Su3dUoGPZSBa3NRNP27y8ps/NIGeDc240vBOHnwm5rkFBWZ4gN9h7cW9zePYOB8xUnMaIpx1TyCEPp5TCp1EI7kM0h/V5e+ktmzPJJUJ3lINHJIDQ0FU4WZ8uAUyjfxkvwxILp0st0qzEIQlxnxynxnT7rTANUH9ehheFayZkMVHfj2acMlsw/1ckQZi3FhSL0FLt3zkqqP6NpR7DkKT/WciOgxEKb932PiFDnDIyvXPtKUrqc2L+rfYCPP8+CDr7uFxKAVcAtqzTAYTB7mWs7jAnjkstNKExq7RWlNjiy50Hik3y9Nqn4IAC2f5kCdGjm1gv736YZ2zGmU74qNi6Ljsov+XHokhn/X/PNRNa7JpGVGRH+tB4b8slekcIai/QfbeuhCd4qwu7R21jJqGh35475sF5URoHjJ]] 0x400053cd40 701 [] false 127.0.0.1:39109 map[] map[] map[] 127.0.0.1:37820 /api/devices/v1/authentication/auth_requests 0x400053cd80}" +time="2025-02-08T06:08:34Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[3] Content-Type:[text/plain; charset=utf-8] Date:[Sat, 08 Feb 2025 06:08:34 GMT]] 0x40002693a0 3 [] false false map[] 0x400017bd00 }" +time="2025-02-08T06:08:34Z" level=debug msg="Receive response data" +time="2025-02-08T06:08:34Z" level=debug msg="Received response data: [106 119 116]" +time="2025-02-08T06:08:34Z" level=info msg="successfully received new authorization data" +time="2025-02-08T06:08:34Z" level=debug msg="Returning artifact name from artifact_info file." +time="2025-02-08T06:08:34Z" level=debug msg="Reading data from the device manifest file: artifact_info" +time="2025-02-08T06:08:34Z" level=debug msg="artifact_name=mender-image" +time="2025-02-08T06:08:34Z" level=debug msg="Current manifest data: mender-image" +time="2025-02-08T06:08:34Z" level=debug msg="Reading data from the device manifest file: device_type" +time="2025-02-08T06:08:34Z" level=debug msg="device_type=dev" +time="2025-02-08T06:08:34Z" level=debug msg="Current manifest data: dev" +time="2025-02-08T06:08:34Z" 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]] 0x40001a4a40 52 [] false 127.0.0.1:32855 map[] map[] map[] 127.0.0.1:57150 /api/devices/v1/deployments/device/deployments/next 0x40001a4a80}" +time="2025-02-08T06:08:34Z" level=warning msg="Server \"http://127.0.0.1:32855\" failed to serve request \"/api/devices/v1/deployments/device/deployments/next\". Attempting \"http://127.0.0.1:39109\"" +time="2025-02-08T06:08:34Z" 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]] 0x400009c940 52 [] false 127.0.0.1:39109 map[] map[] map[] 127.0.0.1:37828 /api/devices/v1/deployments/device/deployments/next 0x400009c980}" +time="2025-02-08T06:08:34Z" level=debug msg="device provides not accepted by the server. Response code: 400" +time="2025-02-08T06:08:34Z" 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:32855 map[] map[] map[] 127.0.0.1:57152 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x4000020c80}" +time="2025-02-08T06:08:34Z" 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:32855 map[] map[] map[] 127.0.0.1:57152 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x4000020c80}" +time="2025-02-08T06:08:34Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" +2025/02/08 06:08:34 http: panic serving 127.0.0.1:57152: runtime error: invalid memory address or nil pointer dereference +goroutine 310 [running]: +net/http.(*conn).serve.func1(0x400026c460) /usr/lib/go-1.15/src/net/http/server.go:1801 +0xfc panic(0x818840, 0xb95f00) /usr/lib/go-1.15/src/runtime/panic.go:975 +0x420 -github.com/mendersoftware/mender/client/test.(*ClientTestServer).updateReq(0x400054c4e0, 0x942bc0, 0x40001a01c0, 0x40000f8e00) +github.com/mendersoftware/mender/client/test.(*ClientTestServer).updateReq(0x4000400000, 0x942bc0, 0x40006e80e0, 0x4000201100) /build/reproducible-path/mender-client-2.4.1/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mender/client/test/server.go:385 +0x2a4 -net/http.HandlerFunc.ServeHTTP(0x400048ebe0, 0x942bc0, 0x40001a01c0, 0x40000f8e00) +net/http.HandlerFunc.ServeHTTP(0x400053abd0, 0x942bc0, 0x40006e80e0, 0x4000201100) /usr/lib/go-1.15/src/net/http/server.go:2042 +0x40 -net/http.(*ServeMux).ServeHTTP(0x40002bc680, 0x942bc0, 0x40001a01c0, 0x40000f8e00) +net/http.(*ServeMux).ServeHTTP(0x40001a4640, 0x942bc0, 0x40006e80e0, 0x4000201100) /usr/lib/go-1.15/src/net/http/server.go:2417 +0x190 -net/http.serverHandler.ServeHTTP(0x40002f61c0, 0x942bc0, 0x40001a01c0, 0x40000f8e00) +net/http.serverHandler.ServeHTTP(0x4000164540, 0x942bc0, 0x40006e80e0, 0x4000201100) /usr/lib/go-1.15/src/net/http/server.go:2843 +0xbc -net/http.(*conn).serve(0x40005325a0, 0x9441c0, 0x400022f080) +net/http.(*conn).serve(0x400026c460, 0x9441c0, 0x40001a4c80) /usr/lib/go-1.15/src/net/http/server.go:1925 +0x6f4 created by net/http.(*Server).Serve /usr/lib/go-1.15/src/net/http/server.go:2969 +0x2e8 -time="2024-01-06T23:39:16Z" level=warning msg="Server \"http://127.0.0.1:34177\" failed to serve request \"/api/devices/v1/deployments/device/deployments/next\". Attempting \"http://127.0.0.1:43363\"" -time="2024-01-06T23:39:16Z" level=info msg="got update request &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer jwt] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:43363 map[] map[] map[] 127.0.0.1:56854 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x400022f440}" -time="2024-01-06T23:39:16Z" level=info msg="Valid update request GET: &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer jwt] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:43363 map[] map[] map[] 127.0.0.1:56854 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x400022f440}" -time="2024-01-06T23:39:16Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" -time="2024-01-06T23:39:16Z" level=debug msg="Received response:200 OK" -time="2024-01-06T23:39:16Z" level=debug msg="Have update available" -time="2024-01-06T23:39:16Z" level=info msg="Correct request for getting image from: http://127.0.0.1:43363/download [name: foo; devices: [vexpress]]" -time="2024-01-06T23:39:16Z" level=debug msg="Received update response: {{{http://127.0.0.1:43363/download } [vexpress] [] foo map[]} foo [] 0 false}" ---- PASS: TestFailoverServers (0.78s) +time="2025-02-08T06:08:34Z" level=warning msg="Server \"http://127.0.0.1:32855\" failed to serve request \"/api/devices/v1/deployments/device/deployments/next\". Attempting \"http://127.0.0.1:39109\"" +time="2025-02-08T06:08:34Z" 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:39109 map[] map[] map[] 127.0.0.1:37832 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x40001a4d40}" +time="2025-02-08T06:08:34Z" 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:39109 map[] map[] map[] 127.0.0.1:37832 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x40001a4d40}" +time="2025-02-08T06:08:34Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" +time="2025-02-08T06:08:34Z" level=debug msg="Received response:200 OK" +time="2025-02-08T06:08:34Z" level=debug msg="Have update available" +time="2025-02-08T06:08:34Z" level=info msg="Correct request for getting image from: http://127.0.0.1:39109/download [name: foo; devices: [vexpress]]" +time="2025-02-08T06:08:34Z" level=debug msg="Received update response: {{{http://127.0.0.1:39109/download } [vexpress] [] foo map[]} foo [] 0 false}" +--- PASS: TestFailoverServers (0.22s) === RUN TestMutualTLSClientConnection mender_test.go:1115: Error Trace: mender_test.go:1115 @@ -1390,2358 +1425,2358 @@ Test: TestMutualTLSClientConnection --- FAIL: TestMutualTLSClientConnection (0.00s) === RUN Test_doManualUpdate_noParams_fail -time="2024-01-06T23:39:16Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-06T23:39:16Z" level=debug msg="Starting device update." -time="2024-01-06T23:39:16Z" level=info msg="Start updating from local image file: []" -time="2024-01-06T23:39:16Z" level=debug msg="Fetching update from file results: [], 0, Not able to open image file: : open : no such file or directory\n" +time="2025-02-08T06:08:34Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2025-02-08T06:08:34Z" level=debug msg="Starting device update." +time="2025-02-08T06:08:34Z" level=info msg="Start updating from local image file: []" +time="2025-02-08T06:08:34Z" level=debug msg="Fetching update from file results: [], 0, Not able to open image file: : open : no such file or directory\n" --- PASS: Test_doManualUpdate_noParams_fail (0.00s) === RUN Test_doManualUpdate_invalidHttpsClientConfig_updateFails -time="2024-01-06T23:39:16Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-06T23:39:16Z" level=debug msg="Starting device update." -time="2024-01-06T23:39:16Z" level=info msg="Performing remote update from: [https://update]." -time="2024-01-06T23:39:16Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (non-existing). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" -time="2024-01-06T23:39:16Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: system library:fopen:No such file or directory\nBIO routines:BIO_new_file:no such file\nx509 certificate routines:X509_load_cert_crl_file:system lib" -time="2024-01-06T23:39:16Z" level=debug msg="Client initialized. Start downloading image." -time="2024-01-06T23:39:16Z" level=error msg="Can not fetch update image: Get \"https://update\": dial tcp: lookup update on [::1]:53: read udp [::1]:36028->[::1]:53: read: connection refused" -time="2024-01-06T23:39:16Z" level=debug msg="Image downloaded: -1 [] [update fetch request failed: Get \"https://update\": dial tcp: lookup update on [::1]:53: read udp [::1]:36028->[::1]:53: read: connection refused]" ---- PASS: Test_doManualUpdate_invalidHttpsClientConfig_updateFails (0.07s) +time="2025-02-08T06:08:34Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2025-02-08T06:08:34Z" level=debug msg="Starting device update." +time="2025-02-08T06:08:34Z" level=info msg="Performing remote update from: [https://update]." +time="2025-02-08T06:08: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="2025-02-08T06:08: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="2025-02-08T06:08:34Z" level=debug msg="Client initialized. Start downloading image." +time="2025-02-08T06:08:34Z" level=error msg="Can not fetch update image: Get \"https://update\": dial tcp: lookup update on [::1]:53: read udp [::1]:56994->[::1]:53: read: connection refused" +time="2025-02-08T06:08:34Z" level=debug msg="Image downloaded: -1 [] [update fetch request failed: Get \"https://update\": dial tcp: lookup update on [::1]:53: read udp [::1]:56994->[::1]:53: read: connection refused]" +--- PASS: Test_doManualUpdate_invalidHttpsClientConfig_updateFails (0.11s) === RUN Test_doManualUpdate_nonExistingFile_fail -time="2024-01-06T23:39:16Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-06T23:39:16Z" level=debug msg="Starting device update." -time="2024-01-06T23:39:16Z" level=info msg="Start updating from local image file: [non-existing]" -time="2024-01-06T23:39:16Z" level=debug msg="Fetching update from file results: [], 0, Not able to open image file: non-existing: open non-existing: no such file or directory\n" +time="2025-02-08T06:08:34Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2025-02-08T06:08:34Z" level=debug msg="Starting device update." +time="2025-02-08T06:08:34Z" level=info msg="Start updating from local image file: [non-existing]" +time="2025-02-08T06:08: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.00s) === RUN Test_doManualUpdate_networkUpdateNoClient_fail -time="2024-01-06T23:39:16Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-06T23:39:16Z" level=debug msg="Starting device update." -time="2024-01-06T23:39:16Z" level=info msg="Performing remote update from: [http://non-existing]." -time="2024-01-06T23:39:16Z" level=debug msg="Client initialized. Start downloading image." -time="2024-01-06T23:39:16Z" level=error msg="Can not fetch update image: Get \"http://non-existing\": dial tcp: lookup non-existing on [::1]:53: read udp [::1]:44361->[::1]:53: read: connection refused" -time="2024-01-06T23:39:16Z" level=debug msg="Image downloaded: -1 [] [update fetch request failed: Get \"http://non-existing\": dial tcp: lookup non-existing on [::1]:53: read udp [::1]:44361->[::1]:53: read: connection refused]" +time="2025-02-08T06:08:34Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2025-02-08T06:08:34Z" level=debug msg="Starting device update." +time="2025-02-08T06:08:34Z" level=info msg="Performing remote update from: [http://non-existing]." +time="2025-02-08T06:08:34Z" level=debug msg="Client initialized. Start downloading image." +time="2025-02-08T06:08:34Z" level=error msg="Can not fetch update image: Get \"http://non-existing\": dial tcp: lookup non-existing on [::1]:53: read udp [::1]:50152->[::1]:53: read: connection refused" +time="2025-02-08T06:08: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]:50152->[::1]:53: read: connection refused]" --- PASS: Test_doManualUpdate_networkUpdateNoClient_fail (0.00s) === RUN Test_doManualUpdate_networkClientExistsNoServer_fail -time="2024-01-06T23:39:16Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-06T23:39:16Z" level=debug msg="Starting device update." -time="2024-01-06T23:39:16Z" level=info msg="Performing remote update from: [http://non-existing]." -time="2024-01-06T23:39:16Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (server.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" -time="2024-01-06T23:39:16Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: system library:fopen:No such file or directory\nBIO routines:BIO_new_file:no such file\nx509 certificate routines:X509_load_cert_crl_file:system lib" -time="2024-01-06T23:39:16Z" level=debug msg="Client initialized. Start downloading image." -time="2024-01-06T23:39:16Z" level=error msg="Can not fetch update image: Get \"http://non-existing\": dial tcp: lookup non-existing on [::1]:53: read udp [::1]:40313->[::1]:53: read: connection refused" -time="2024-01-06T23:39:16Z" level=debug msg="Image downloaded: -1 [] [update fetch request failed: Get \"http://non-existing\": dial tcp: lookup non-existing on [::1]:53: read udp [::1]:40313->[::1]:53: read: connection refused]" ---- PASS: Test_doManualUpdate_networkClientExistsNoServer_fail (0.08s) +time="2025-02-08T06:08:34Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2025-02-08T06:08:34Z" level=debug msg="Starting device update." +time="2025-02-08T06:08:34Z" level=info msg="Performing remote update from: [http://non-existing]." +time="2025-02-08T06:08: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="2025-02-08T06:08: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="2025-02-08T06:08:34Z" level=debug msg="Client initialized. Start downloading image." +time="2025-02-08T06:08:34Z" level=error msg="Can not fetch update image: Get \"http://non-existing\": dial tcp: lookup non-existing on [::1]:53: read udp [::1]:55439->[::1]:53: read: connection refused" +time="2025-02-08T06:08: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]:55439->[::1]:53: read: connection refused]" +--- PASS: Test_doManualUpdate_networkClientExistsNoServer_fail (0.11s) === RUN Test_doManualUpdate_existingFile_updateSuccess -time="2024-01-06T23:39:16Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-06T23:39:16Z" level=debug msg="Starting device update." -time="2024-01-06T23:39:16Z" level=info msg="Start updating from local image file: [/tmp/update124322117]" -time="2024-01-06T23:39:16Z" level=debug msg="Fetching update from file results: [&{0x400084c0c0}], 5120, " +time="2025-02-08T06:08:34Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2025-02-08T06:08:34Z" level=debug msg="Starting device update." +time="2025-02-08T06:08:34Z" level=info msg="Start updating from local image file: [/tmp/update148184943]" +time="2025-02-08T06:08:34Z" level=debug msg="Fetching update from file results: [&{0x400021a2a0}], 5120, " Installing Artifact of size 5120... -time="2024-01-06T23:39:16Z" level=debug msg="Reading data from the device manifest file: /tmp/143075114" -time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:16Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:16Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" -time="2024-01-06T23:39:16Z" level=debug msg="Checking if device [] is on compatible device list: [vexpress-qemu]\n" -time="2024-01-06T23:39:16Z" level=error msg="Unknown device_type. Continuing with update" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Successfully read artifact [name: mender-1.1; version: 2; compatible devices: [vexpress-qemu]]" +time="2025-02-08T06:08:34Z" level=debug msg="Reading data from the device manifest file: /tmp/677527900" +time="2025-02-08T06:08:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:34Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:34Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" +time="2025-02-08T06:08:34Z" level=debug msg="Checking if device [] is on compatible device list: [vexpress-qemu]\n" +time="2025-02-08T06:08:34Z" level=error msg="Unknown device_type. Continuing with update" +time="2025-02-08T06:08:34Z" level=debug msg="Installer: Successfully read artifact [name: mender-1.1; version: 2; compatible devices: [vexpress-qemu]]" . 100% 5 KiB -time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. ---- PASS: Test_doManualUpdate_existingFile_updateSuccess (0.04s) +--- PASS: Test_doManualUpdate_existingFile_updateSuccess (0.01s) === RUN TestDoManualUpdateArtifactV3Dependencies -time="2024-01-06T23:39:16Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-06T23:39:16Z" level=debug msg="Starting device update." -time="2024-01-06T23:39:16Z" level=info msg="Start updating from local image file: [/tmp/update110099302]" -time="2024-01-06T23:39:16Z" level=debug msg="Fetching update from file results: [&{0x40005a8ea0}], 5120, " +time="2025-02-08T06:08:34Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2025-02-08T06:08:34Z" level=debug msg="Starting device update." +time="2025-02-08T06:08:34Z" level=info msg="Start updating from local image file: [/tmp/update215287288]" +time="2025-02-08T06:08:34Z" level=debug msg="Fetching update from file results: [&{0x4000578120}], 5120, " Installing Artifact of size 5120... -time="2024-01-06T23:39:16Z" level=debug msg="Reading data from the device manifest file: /tmp/049095103" -time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:16Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:16Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" -time="2024-01-06T23:39:16Z" level=debug msg="Checking if device [] is on compatible device list: [qemux86-64]\n" -time="2024-01-06T23:39:16Z" level=error msg="Unknown device_type. Continuing with update" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Successfully read artifact [name: testName; version: 3; compatible devices: [qemux86-64]]" -time="2024-01-06T23:39:16Z" level=error msg="Artifact dependency \"artifact_group\" not satisfied by currently installed artifact ([testGroup] != )." -time="2024-01-06T23:39:16Z" level=debug msg="Starting device update." -time="2024-01-06T23:39:16Z" level=info msg="Start updating from local image file: [/tmp/update110099302]" -time="2024-01-06T23:39:16Z" level=debug msg="Fetching update from file results: [&{0x40005a81e0}], 5120, " +time="2025-02-08T06:08:34Z" level=debug msg="Reading data from the device manifest file: /tmp/867382649" +time="2025-02-08T06:08:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:34Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:34Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" +time="2025-02-08T06:08:34Z" level=debug msg="Checking if device [] is on compatible device list: [qemux86-64]\n" +time="2025-02-08T06:08:34Z" level=error msg="Unknown device_type. Continuing with update" +time="2025-02-08T06:08:34Z" level=debug msg="Installer: Successfully read artifact [name: testName; version: 3; compatible devices: [qemux86-64]]" +time="2025-02-08T06:08:34Z" level=error msg="Artifact dependency \"testKey\" not satisfied by currently installed artifact (testValue != )." +time="2025-02-08T06:08:34Z" level=debug msg="Starting device update." +time="2025-02-08T06:08:34Z" level=info msg="Start updating from local image file: [/tmp/update215287288]" +time="2025-02-08T06:08:34Z" level=debug msg="Fetching update from file results: [&{0x4000578600}], 5120, " Installing Artifact of size 5120... -time="2024-01-06T23:39:16Z" level=debug msg="Reading data from the device manifest file: /tmp/049095103" -time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:16Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:16Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" -time="2024-01-06T23:39:16Z" level=debug msg="Checking if device [] is on compatible device list: [qemux86-64]\n" -time="2024-01-06T23:39:16Z" level=error msg="Unknown device_type. Continuing with update" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Successfully read artifact [name: testName; version: 3; compatible devices: [qemux86-64]]" -time="2024-01-06T23:39:16Z" level=error msg="Artifact dependency \"artifact_group\" not satisfied by currently installed artifact ([testGroup] != )." -time="2024-01-06T23:39:16Z" level=debug msg="Starting device update." -time="2024-01-06T23:39:16Z" level=info msg="Start updating from local image file: [/tmp/update110099302]" -time="2024-01-06T23:39:16Z" level=debug msg="Fetching update from file results: [&{0x40005a8c60}], 5120, " +time="2025-02-08T06:08:34Z" level=debug msg="Reading data from the device manifest file: /tmp/867382649" +time="2025-02-08T06:08:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:34Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:34Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" +time="2025-02-08T06:08:34Z" level=debug msg="Checking if device [] is on compatible device list: [qemux86-64]\n" +time="2025-02-08T06:08:34Z" level=error msg="Unknown device_type. Continuing with update" +time="2025-02-08T06:08:34Z" level=debug msg="Installer: Successfully read artifact [name: testName; version: 3; compatible devices: [qemux86-64]]" +time="2025-02-08T06:08:34Z" level=error msg="Artifact dependency \"artifact_group\" not satisfied by currently installed artifact ([testGroup] != )." +time="2025-02-08T06:08:34Z" level=debug msg="Starting device update." +time="2025-02-08T06:08:34Z" level=info msg="Start updating from local image file: [/tmp/update215287288]" +time="2025-02-08T06:08:34Z" level=debug msg="Fetching update from file results: [&{0x4000578120}], 5120, " Installing Artifact of size 5120... -time="2024-01-06T23:39:16Z" level=debug msg="Reading data from the device manifest file: /tmp/049095103" -time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:16Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:16Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" -time="2024-01-06T23:39:16Z" level=debug msg="Checking if device [] is on compatible device list: [qemux86-64]\n" -time="2024-01-06T23:39:16Z" level=error msg="Unknown device_type. Continuing with update" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Successfully read artifact [name: testName; version: 3; compatible devices: [qemux86-64]]" -time="2024-01-06T23:39:16Z" level=error msg="Artifact dependency \"testKey\" not satisfied by currently installed artifact (testValue != )." -time="2024-01-06T23:39:16Z" level=debug msg="Starting device update." -time="2024-01-06T23:39:16Z" level=info msg="Start updating from local image file: [/tmp/update110099302]" -time="2024-01-06T23:39:16Z" level=debug msg="Fetching update from file results: [&{0x40005a8180}], 5120, " +time="2025-02-08T06:08:34Z" level=debug msg="Reading data from the device manifest file: /tmp/867382649" +time="2025-02-08T06:08:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:34Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:34Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" +time="2025-02-08T06:08:34Z" level=debug msg="Checking if device [] is on compatible device list: [qemux86-64]\n" +time="2025-02-08T06:08:34Z" level=error msg="Unknown device_type. Continuing with update" +time="2025-02-08T06:08:34Z" level=debug msg="Installer: Successfully read artifact [name: testName; version: 3; compatible devices: [qemux86-64]]" +time="2025-02-08T06:08:34Z" level=error msg="Artifact dependency \"testKey\" not satisfied by currently installed artifact (testValue != )." +time="2025-02-08T06:08:34Z" level=debug msg="Starting device update." +time="2025-02-08T06:08:34Z" level=info msg="Start updating from local image file: [/tmp/update215287288]" +time="2025-02-08T06:08:34Z" level=debug msg="Fetching update from file results: [&{0x40005787e0}], 5120, " Installing Artifact of size 5120... -time="2024-01-06T23:39:16Z" level=debug msg="Reading data from the device manifest file: /tmp/049095103" -time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:16Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:16Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" -time="2024-01-06T23:39:16Z" level=debug msg="Checking if device [] is on compatible device list: [qemux86-64]\n" -time="2024-01-06T23:39:16Z" level=error msg="Unknown device_type. Continuing with update" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Successfully read artifact [name: testName; version: 3; compatible devices: [qemux86-64]]" +time="2025-02-08T06:08:34Z" level=debug msg="Reading data from the device manifest file: /tmp/867382649" +time="2025-02-08T06:08:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:34Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:34Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" +time="2025-02-08T06:08:34Z" level=debug msg="Checking if device [] is on compatible device list: [qemux86-64]\n" +time="2025-02-08T06:08:34Z" level=error msg="Unknown device_type. Continuing with update" +time="2025-02-08T06:08:34Z" level=debug msg="Installer: Successfully read artifact [name: testName; version: 3; compatible devices: [qemux86-64]]" . 100% 5 KiB -time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. ---- PASS: TestDoManualUpdateArtifactV3Dependencies (0.08s) +--- PASS: TestDoManualUpdateArtifactV3Dependencies (0.01s) === RUN TestStandaloneModuleInstall === RUN TestStandaloneModuleInstall/Normal_install,_no_rollback -time="2024-01-06T23:39:16Z" level=debug msg="Starting device update." -time="2024-01-06T23:39:16Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall899124616/artifact.mender]" -time="2024-01-06T23:39:16Z" level=debug msg="Fetching update from file results: [&{0x400060ae40}], 5632, " +time="2025-02-08T06:08:34Z" level=debug msg="Starting device update." +time="2025-02-08T06:08:34Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall937749994/artifact.mender]" +time="2025-02-08T06:08:34Z" level=debug msg="Fetching update from file results: [&{0x40002c0120}], 5632, " Installing Artifact of size 5632... -time="2024-01-06T23:39:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall899124616/device_type" -time="2024-01-06T23:39:16Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:16Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:16Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-06T23:39:16Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:16Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-06T23:39:16Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-06T23:39:16Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall899124616/artifact_info file." -time="2024-01-06T23:39:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall899124616/artifact_info" -time="2024-01-06T23:39:16Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:16Z" level=debug msg="Current manifest data: old_name" -time="2024-01-06T23:39:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall899124616/artifact_info" -time="2024-01-06T23:39:16Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall899124616/device_type" -time="2024-01-06T23:39:16Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:16Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-06T23:39:16Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-06T23:39:16Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall899124616/modules/test-type Download /tmp/TestStandaloneModuleInstall899124616/work/payloads/0000/tree" -time="2024-01-06T23:39:16Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2025-02-08T06:08:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall937749994/device_type" +time="2025-02-08T06:08:34Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:34Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:34Z" level=debug msg="Executing script: Download_Enter_00" +time="2025-02-08T06:08:34Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:34Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2025-02-08T06:08:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2025-02-08T06:08:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2025-02-08T06:08:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2025-02-08T06:08:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2025-02-08T06:08:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2025-02-08T06:08:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2025-02-08T06:08:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2025-02-08T06:08:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2025-02-08T06:08:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2025-02-08T06:08:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2025-02-08T06:08:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2025-02-08T06:08:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2025-02-08T06:08:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2025-02-08T06:08:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2025-02-08T06:08:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2025-02-08T06:08:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2025-02-08T06:08:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2025-02-08T06:08:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2025-02-08T06:08:34Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2025-02-08T06:08:34Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall937749994/artifact_info file." +time="2025-02-08T06:08:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall937749994/artifact_info" +time="2025-02-08T06:08:34Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:34Z" level=debug msg="Current manifest data: old_name" +time="2025-02-08T06:08:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall937749994/artifact_info" +time="2025-02-08T06:08:34Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall937749994/device_type" +time="2025-02-08T06:08:34Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:34Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:34Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2025-02-08T06:08:34Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2025-02-08T06:08:34Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall937749994/modules/test-type Download /tmp/TestStandaloneModuleInstall937749994/work/payloads/0000/tree" +time="2025-02-08T06:08:34Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:16Z" level=debug msg="Executing script: Download_Leave_00" -time="2024-01-06T23:39:16Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-06T23:39:16Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall899124616/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall899124616/work/payloads/0000/tree" -time="2024-01-06T23:39:16Z" level=debug msg="Update module output: No" -time="2024-01-06T23:39:16Z" level=debug msg="Module does not support rollback" -time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:16Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2024-01-06T23:39:16Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2024-01-06T23:39:16Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall899124616/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall899124616/work/payloads/0000/tree" -time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:16Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2024-01-06T23:39:16Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2024-01-06T23:39:16Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall899124616/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall899124616/work/payloads/0000/tree" -time="2024-01-06T23:39:16Z" level=debug msg="Update module output: Yes" -time="2024-01-06T23:39:16Z" level=debug msg="Module needs custom reboot" +time="2025-02-08T06:08:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:34Z" level=debug msg="Executing script: Download_Leave_00" +time="2025-02-08T06:08:34Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2025-02-08T06:08:34Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall937749994/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall937749994/work/payloads/0000/tree" +time="2025-02-08T06:08:34Z" level=debug msg="Update module output: No" +time="2025-02-08T06:08:34Z" level=debug msg="Module does not support rollback" +time="2025-02-08T06:08:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:34Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2025-02-08T06:08:34Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2025-02-08T06:08:34Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall937749994/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall937749994/work/payloads/0000/tree" +time="2025-02-08T06:08:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:34Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2025-02-08T06:08:34Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2025-02-08T06:08:34Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall937749994/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall937749994/work/payloads/0000/tree" +time="2025-02-08T06:08:34Z" level=debug msg="Update module output: Yes" +time="2025-02-08T06:08:34Z" level=debug msg="Module needs custom reboot" Artifact doesn't support rollback. Committing immediately. Committing Artifact... -time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:16Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" -time="2024-01-06T23:39:16Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" -time="2024-01-06T23:39:16Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall899124616/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall899124616/work/payloads/0000/tree" -time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:16Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" -time="2024-01-06T23:39:16Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2024-01-06T23:39:16Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall899124616/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall899124616/work/payloads/0000/tree" +time="2025-02-08T06:08:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:34Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" +time="2025-02-08T06:08:34Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" +time="2025-02-08T06:08:34Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall937749994/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall937749994/work/payloads/0000/tree" +time="2025-02-08T06:08:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:34Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" +time="2025-02-08T06:08:34Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2025-02-08T06:08:34Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall937749994/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall937749994/work/payloads/0000/tree" At least one payload requested a reboot of the device it updated. -time="2024-01-06T23:39:16Z" level=debug msg="Returning artifact name artifact-name from database." +time="2025-02-08T06:08:34Z" level=debug msg="Returning artifact name artifact-name from database." === RUN TestStandaloneModuleInstall/Normal_install -time="2024-01-06T23:39:16Z" level=debug msg="Starting device update." -time="2024-01-06T23:39:16Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall031302417/artifact.mender]" -time="2024-01-06T23:39:16Z" level=debug msg="Fetching update from file results: [&{0x400049c120}], 5632, " +time="2025-02-08T06:08:34Z" level=debug msg="Starting device update." +time="2025-02-08T06:08:34Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall420516891/artifact.mender]" +time="2025-02-08T06:08:34Z" level=debug msg="Fetching update from file results: [&{0x40002c0240}], 5632, " Installing Artifact of size 5632... -time="2024-01-06T23:39:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall031302417/device_type" -time="2024-01-06T23:39:16Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:16Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:16Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-06T23:39:16Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:16Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-06T23:39:16Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-06T23:39:16Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall031302417/artifact_info file." -time="2024-01-06T23:39:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall031302417/artifact_info" -time="2024-01-06T23:39:16Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:16Z" level=debug msg="Current manifest data: old_name" -time="2024-01-06T23:39:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall031302417/artifact_info" -time="2024-01-06T23:39:16Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall031302417/device_type" -time="2024-01-06T23:39:16Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:16Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-06T23:39:16Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-06T23:39:16Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall031302417/modules/test-type Download /tmp/TestStandaloneModuleInstall031302417/work/payloads/0000/tree" -time="2024-01-06T23:39:16Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2025-02-08T06:08:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall420516891/device_type" +time="2025-02-08T06:08:34Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:34Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:34Z" level=debug msg="Executing script: Download_Enter_00" +time="2025-02-08T06:08:34Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:34Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2025-02-08T06:08:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2025-02-08T06:08:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2025-02-08T06:08:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2025-02-08T06:08:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2025-02-08T06:08:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2025-02-08T06:08:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2025-02-08T06:08:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2025-02-08T06:08:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2025-02-08T06:08:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2025-02-08T06:08:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2025-02-08T06:08:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2025-02-08T06:08:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2025-02-08T06:08:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2025-02-08T06:08:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2025-02-08T06:08:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2025-02-08T06:08:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2025-02-08T06:08:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2025-02-08T06:08:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2025-02-08T06:08:34Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2025-02-08T06:08:34Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall420516891/artifact_info file." +time="2025-02-08T06:08:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall420516891/artifact_info" +time="2025-02-08T06:08:34Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:34Z" level=debug msg="Current manifest data: old_name" +time="2025-02-08T06:08:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall420516891/artifact_info" +time="2025-02-08T06:08:34Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall420516891/device_type" +time="2025-02-08T06:08:34Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:34Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:34Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2025-02-08T06:08:34Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2025-02-08T06:08:34Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall420516891/modules/test-type Download /tmp/TestStandaloneModuleInstall420516891/work/payloads/0000/tree" +time="2025-02-08T06:08:34Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:16Z" level=debug msg="Executing script: Download_Leave_00" -time="2024-01-06T23:39:16Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-06T23:39:16Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall031302417/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall031302417/work/payloads/0000/tree" -time="2024-01-06T23:39:16Z" level=debug msg="Update module output: Yes" -time="2024-01-06T23:39:16Z" level=debug msg="Module supports rollback" -time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:16Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2024-01-06T23:39:16Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2024-01-06T23:39:16Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall031302417/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall031302417/work/payloads/0000/tree" -time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:16Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2024-01-06T23:39:16Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2024-01-06T23:39:16Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall031302417/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall031302417/work/payloads/0000/tree" -time="2024-01-06T23:39:16Z" level=debug msg="Update module output: Yes" -time="2024-01-06T23:39:16Z" level=debug msg="Module needs custom reboot" +time="2025-02-08T06:08:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:34Z" level=debug msg="Executing script: Download_Leave_00" +time="2025-02-08T06:08:34Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2025-02-08T06:08:34Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall420516891/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall420516891/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Update module output: Yes" +time="2025-02-08T06:08:35Z" level=debug msg="Module supports rollback" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall420516891/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall420516891/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall420516891/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall420516891/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Update module output: Yes" +time="2025-02-08T06:08:35Z" level=debug msg="Module needs custom reboot" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. -time="2024-01-06T23:39:16Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall031302417/artifact_info file." -time="2024-01-06T23:39:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall031302417/artifact_info" -time="2024-01-06T23:39:16Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:16Z" level=debug msg="Current manifest data: old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall420516891/artifact_info file." +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall420516891/artifact_info" +time="2025-02-08T06:08:35Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Normal_commit -time="2024-01-06T23:39:16Z" level=debug msg="Starting device update." -time="2024-01-06T23:39:16Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall183685582/artifact.mender]" -time="2024-01-06T23:39:16Z" level=debug msg="Fetching update from file results: [&{0x40003a02a0}], 5632, " +time="2025-02-08T06:08:35Z" level=debug msg="Starting device update." +time="2025-02-08T06:08:35Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall203348640/artifact.mender]" +time="2025-02-08T06:08:35Z" level=debug msg="Fetching update from file results: [&{0x40002c01e0}], 5632, " Installing Artifact of size 5632... -time="2024-01-06T23:39:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall183685582/device_type" -time="2024-01-06T23:39:16Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:16Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:16Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-06T23:39:16Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:16Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-06T23:39:16Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-06T23:39:16Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall183685582/artifact_info file." -time="2024-01-06T23:39:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall183685582/artifact_info" -time="2024-01-06T23:39:16Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:16Z" level=debug msg="Current manifest data: old_name" -time="2024-01-06T23:39:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall183685582/artifact_info" -time="2024-01-06T23:39:16Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall183685582/device_type" -time="2024-01-06T23:39:16Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:16Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:16Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-06T23:39:16Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-06T23:39:16Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall183685582/modules/test-type Download /tmp/TestStandaloneModuleInstall183685582/work/payloads/0000/tree" -time="2024-01-06T23:39:16Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall203348640/device_type" +time="2025-02-08T06:08:35Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: Download_Enter_00" +time="2025-02-08T06:08:35Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:35Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2025-02-08T06:08:35Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall203348640/artifact_info file." +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall203348640/artifact_info" +time="2025-02-08T06:08:35Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall203348640/artifact_info" +time="2025-02-08T06:08:35Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall203348640/device_type" +time="2025-02-08T06:08:35Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall203348640/modules/test-type Download /tmp/TestStandaloneModuleInstall203348640/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:16Z" level=debug msg="Executing script: Download_Leave_00" -time="2024-01-06T23:39:16Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-06T23:39:16Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall183685582/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall183685582/work/payloads/0000/tree" -time="2024-01-06T23:39:16Z" level=debug msg="Update module output: Yes" -time="2024-01-06T23:39:16Z" level=debug msg="Module supports rollback" -time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:16Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2024-01-06T23:39:16Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2024-01-06T23:39:16Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall183685582/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall183685582/work/payloads/0000/tree" -time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:16Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2024-01-06T23:39:16Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2024-01-06T23:39:16Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall183685582/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall183685582/work/payloads/0000/tree" -time="2024-01-06T23:39:16Z" level=debug msg="Update module output: Yes" -time="2024-01-06T23:39:16Z" level=debug msg="Module needs custom reboot" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: Download_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall203348640/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall203348640/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Update module output: Yes" +time="2025-02-08T06:08:35Z" level=debug msg="Module supports rollback" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall203348640/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall203348640/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall203348640/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall203348640/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Update module output: Yes" +time="2025-02-08T06:08:35Z" level=debug msg="Module needs custom reboot" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. Committing Artifact... -time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:16Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" -time="2024-01-06T23:39:16Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" -time="2024-01-06T23:39:16Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall183685582/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall183685582/work/payloads/0000/tree" -time="2024-01-06T23:39:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:16Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" -time="2024-01-06T23:39:16Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2024-01-06T23:39:16Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall183685582/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall183685582/work/payloads/0000/tree" -time="2024-01-06T23:39:16Z" level=debug msg="Returning artifact name artifact-name from database." +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall203348640/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall203348640/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall203348640/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall203348640/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Returning artifact name artifact-name from database." === RUN TestStandaloneModuleInstall/Normal_rollback -time="2024-01-06T23:39:17Z" level=debug msg="Starting device update." -time="2024-01-06T23:39:17Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall393631183/artifact.mender]" -time="2024-01-06T23:39:17Z" level=debug msg="Fetching update from file results: [&{0x40005ca660}], 5632, " +time="2025-02-08T06:08:35Z" level=debug msg="Starting device update." +time="2025-02-08T06:08:35Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall504286729/artifact.mender]" +time="2025-02-08T06:08:35Z" level=debug msg="Fetching update from file results: [&{0x400021a300}], 5632, " Installing Artifact of size 5632... -time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall393631183/device_type" -time="2024-01-06T23:39:17Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:17Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-06T23:39:17Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:17Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-06T23:39:17Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall393631183/artifact_info file." -time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall393631183/artifact_info" -time="2024-01-06T23:39:17Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: old_name" -time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall393631183/artifact_info" -time="2024-01-06T23:39:17Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall393631183/device_type" -time="2024-01-06T23:39:17Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall393631183/modules/test-type Download /tmp/TestStandaloneModuleInstall393631183/work/payloads/0000/tree" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall504286729/device_type" +time="2025-02-08T06:08:35Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: Download_Enter_00" +time="2025-02-08T06:08:35Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:35Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2025-02-08T06:08:35Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall504286729/artifact_info file." +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall504286729/artifact_info" +time="2025-02-08T06:08:35Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall504286729/artifact_info" +time="2025-02-08T06:08:35Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall504286729/device_type" +time="2025-02-08T06:08:35Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall504286729/modules/test-type Download /tmp/TestStandaloneModuleInstall504286729/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:17Z" level=debug msg="Executing script: Download_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall393631183/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall393631183/work/payloads/0000/tree" -time="2024-01-06T23:39:17Z" level=debug msg="Update module output: Yes" -time="2024-01-06T23:39:17Z" level=debug msg="Module supports rollback" -time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall393631183/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall393631183/work/payloads/0000/tree" -time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall393631183/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall393631183/work/payloads/0000/tree" -time="2024-01-06T23:39:17Z" level=debug msg="Update module output: Yes" -time="2024-01-06T23:39:17Z" level=debug msg="Module needs custom reboot" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: Download_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall504286729/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall504286729/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Update module output: Yes" +time="2025-02-08T06:08:35Z" level=debug msg="Module supports rollback" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall504286729/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall504286729/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall504286729/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall504286729/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Update module output: Yes" +time="2025-02-08T06:08:35Z" level=debug msg="Module needs custom reboot" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall393631183/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall393631183/work/payloads/0000/tree" -time="2024-01-06T23:39:17Z" level=debug msg="Update module output: Yes" -time="2024-01-06T23:39:17Z" level=debug msg="Module supports rollback" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall504286729/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall504286729/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Update module output: Yes" +time="2025-02-08T06:08:35Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall393631183/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall393631183/work/payloads/0000/tree" -time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall393631183/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall393631183/work/payloads/0000/tree" -time="2024-01-06T23:39:17Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall393631183/artifact_info file." -time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall393631183/artifact_info" -time="2024-01-06T23:39:17Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: old_name" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall504286729/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall504286729/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall504286729/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall504286729/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall504286729/artifact_info file." +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall504286729/artifact_info" +time="2025-02-08T06:08:35Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_Download_Enter_00 -time="2024-01-06T23:39:17Z" level=debug msg="Starting device update." -time="2024-01-06T23:39:17Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall762234468/artifact.mender]" -time="2024-01-06T23:39:17Z" level=debug msg="Fetching update from file results: [&{0x40005ca300}], 5632, " +time="2025-02-08T06:08:35Z" level=debug msg="Starting device update." +time="2025-02-08T06:08:35Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall506106918/artifact.mender]" +time="2025-02-08T06:08:35Z" level=debug msg="Fetching update from file results: [&{0x40005783c0}], 5632, " Installing Artifact of size 5632... -time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall762234468/device_type" -time="2024-01-06T23:39:17Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:17Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-06T23:39:17Z" level=error msg="Download_Enter script failed: statescript: error executing 'Download_Enter_00': 1 : exit status 1" -time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:17Z" level=debug msg="Executing script: Download_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall762234468/artifact_info file." -time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall762234468/artifact_info" -time="2024-01-06T23:39:17Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall506106918/device_type" +time="2025-02-08T06:08:35Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: Download_Enter_00" +time="2025-02-08T06:08:35Z" level=error msg="Download_Enter script failed: statescript: error executing 'Download_Enter_00': 1 : exit status 1" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: Download_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall506106918/artifact_info file." +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall506106918/artifact_info" +time="2025-02-08T06:08:35Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_Download -time="2024-01-06T23:39:17Z" level=debug msg="Starting device update." -time="2024-01-06T23:39:17Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall699763485/artifact.mender]" -time="2024-01-06T23:39:17Z" level=debug msg="Fetching update from file results: [&{0x40005da180}], 5632, " +time="2025-02-08T06:08:35Z" level=debug msg="Starting device update." +time="2025-02-08T06:08:35Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall210540807/artifact.mender]" +time="2025-02-08T06:08:35Z" level=debug msg="Fetching update from file results: [&{0x400021a180}], 5632, " Installing Artifact of size 5632... -time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall699763485/device_type" -time="2024-01-06T23:39:17Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:17Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-06T23:39:17Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:17Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-06T23:39:17Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall699763485/artifact_info file." -time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall699763485/artifact_info" -time="2024-01-06T23:39:17Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: old_name" -time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall699763485/artifact_info" -time="2024-01-06T23:39:17Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall699763485/device_type" -time="2024-01-06T23:39:17Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall699763485/modules/test-type Download /tmp/TestStandaloneModuleInstall699763485/work/payloads/0000/tree" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" -time="2024-01-06T23:39:17Z" level=error msg="Download failed: Update module terminated abnormally: exit status 1" -time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:17Z" level=debug msg="Executing script: Download_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall699763485/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall699763485/work/payloads/0000/tree" -time="2024-01-06T23:39:17Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall699763485/artifact_info file." -time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall699763485/artifact_info" -time="2024-01-06T23:39:17Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall210540807/device_type" +time="2025-02-08T06:08:35Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: Download_Enter_00" +time="2025-02-08T06:08:35Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:35Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2025-02-08T06:08:35Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall210540807/artifact_info file." +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall210540807/artifact_info" +time="2025-02-08T06:08:35Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall210540807/artifact_info" +time="2025-02-08T06:08:35Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall210540807/device_type" +time="2025-02-08T06:08:35Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall210540807/modules/test-type Download /tmp/TestStandaloneModuleInstall210540807/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2025-02-08T06:08:35Z" level=error msg="Download failed: Update module terminated abnormally: exit status 1" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: Download_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall210540807/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall210540807/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall210540807/artifact_info file." +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall210540807/artifact_info" +time="2025-02-08T06:08:35Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_Download_Leave_00 -time="2024-01-06T23:39:17Z" level=debug msg="Starting device update." -time="2024-01-06T23:39:17Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall005073098/artifact.mender]" -time="2024-01-06T23:39:17Z" level=debug msg="Fetching update from file results: [&{0x40004ce2a0}], 5632, " +time="2025-02-08T06:08:35Z" level=debug msg="Starting device update." +time="2025-02-08T06:08:35Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall620500476/artifact.mender]" +time="2025-02-08T06:08:35Z" level=debug msg="Fetching update from file results: [&{0x40002566c0}], 5632, " Installing Artifact of size 5632... -time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall005073098/device_type" -time="2024-01-06T23:39:17Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:17Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-06T23:39:17Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:17Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-06T23:39:17Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall005073098/artifact_info file." -time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall005073098/artifact_info" -time="2024-01-06T23:39:17Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: old_name" -time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall005073098/artifact_info" -time="2024-01-06T23:39:17Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall005073098/device_type" -time="2024-01-06T23:39:17Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall005073098/modules/test-type Download /tmp/TestStandaloneModuleInstall005073098/work/payloads/0000/tree" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall620500476/device_type" +time="2025-02-08T06:08:35Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: Download_Enter_00" +time="2025-02-08T06:08:35Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:35Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2025-02-08T06:08:35Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall620500476/artifact_info file." +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall620500476/artifact_info" +time="2025-02-08T06:08:35Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall620500476/artifact_info" +time="2025-02-08T06:08:35Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall620500476/device_type" +time="2025-02-08T06:08:35Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall620500476/modules/test-type Download /tmp/TestStandaloneModuleInstall620500476/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:17Z" level=debug msg="Executing script: Download_Leave_00" -time="2024-01-06T23:39:17Z" level=error msg="Download_Leave script failed: statescript: error executing 'Download_Leave_00': 1 : exit status 1" -time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:17Z" level=debug msg="Executing script: Download_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall005073098/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall005073098/work/payloads/0000/tree" -time="2024-01-06T23:39:17Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall005073098/artifact_info file." -time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall005073098/artifact_info" -time="2024-01-06T23:39:17Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: old_name" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: Download_Leave_00" +time="2025-02-08T06:08:35Z" level=error msg="Download_Leave script failed: statescript: error executing 'Download_Leave_00': 1 : exit status 1" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: Download_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall620500476/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall620500476/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall620500476/artifact_info file." +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall620500476/artifact_info" +time="2025-02-08T06:08:35Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_ArtifactInstall_Enter_00 -time="2024-01-06T23:39:17Z" level=debug msg="Starting device update." -time="2024-01-06T23:39:17Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall025136763/artifact.mender]" -time="2024-01-06T23:39:17Z" level=debug msg="Fetching update from file results: [&{0x4000490120}], 5632, " +time="2025-02-08T06:08:35Z" level=debug msg="Starting device update." +time="2025-02-08T06:08:35Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall288959637/artifact.mender]" +time="2025-02-08T06:08:35Z" level=debug msg="Fetching update from file results: [&{0x4000578480}], 5632, " Installing Artifact of size 5632... -time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall025136763/device_type" -time="2024-01-06T23:39:17Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:17Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-06T23:39:17Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:17Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-06T23:39:17Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall025136763/artifact_info file." -time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall025136763/artifact_info" -time="2024-01-06T23:39:17Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: old_name" -time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall025136763/artifact_info" -time="2024-01-06T23:39:17Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall025136763/device_type" -time="2024-01-06T23:39:17Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall025136763/modules/test-type Download /tmp/TestStandaloneModuleInstall025136763/work/payloads/0000/tree" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall288959637/device_type" +time="2025-02-08T06:08:35Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: Download_Enter_00" +time="2025-02-08T06:08:35Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:35Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2025-02-08T06:08:35Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall288959637/artifact_info file." +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall288959637/artifact_info" +time="2025-02-08T06:08:35Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall288959637/artifact_info" +time="2025-02-08T06:08:35Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall288959637/device_type" +time="2025-02-08T06:08:35Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall288959637/modules/test-type Download /tmp/TestStandaloneModuleInstall288959637/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:17Z" level=debug msg="Executing script: Download_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall025136763/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall025136763/work/payloads/0000/tree" -time="2024-01-06T23:39:17Z" level=debug msg="Update module output: Yes" -time="2024-01-06T23:39:17Z" level=debug msg="Module supports rollback" -time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2024-01-06T23:39:17Z" level=error msg="ArtifactInstall_Enter script failed: statescript: error executing 'ArtifactInstall_Enter_00': 1 : exit status 1" -time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactInstall_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall025136763/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall025136763/work/payloads/0000/tree" -time="2024-01-06T23:39:17Z" level=debug msg="Update module output: Yes" -time="2024-01-06T23:39:17Z" level=debug msg="Module supports rollback" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: Download_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall288959637/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall288959637/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Update module output: Yes" +time="2025-02-08T06:08:35Z" level=debug msg="Module supports rollback" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2025-02-08T06:08:35Z" level=error msg="ArtifactInstall_Enter script failed: statescript: error executing 'ArtifactInstall_Enter_00': 1 : exit status 1" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactInstall_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall288959637/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall288959637/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Update module output: Yes" +time="2025-02-08T06:08:35Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall025136763/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall025136763/work/payloads/0000/tree" -time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall025136763/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall025136763/work/payloads/0000/tree" -time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall025136763/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall025136763/work/payloads/0000/tree" -time="2024-01-06T23:39:17Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall025136763/artifact_info file." -time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall025136763/artifact_info" -time="2024-01-06T23:39:17Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: old_name" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall288959637/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall288959637/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall288959637/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall288959637/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall288959637/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall288959637/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall288959637/artifact_info file." +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall288959637/artifact_info" +time="2025-02-08T06:08:35Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_ArtifactInstall -time="2024-01-06T23:39:17Z" level=debug msg="Starting device update." -time="2024-01-06T23:39:17Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall655616128/artifact.mender]" -time="2024-01-06T23:39:17Z" level=debug msg="Fetching update from file results: [&{0x40005ca240}], 5632, " +time="2025-02-08T06:08:35Z" level=debug msg="Starting device update." +time="2025-02-08T06:08:35Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall773400482/artifact.mender]" +time="2025-02-08T06:08:35Z" level=debug msg="Fetching update from file results: [&{0x400021a2a0}], 5632, " Installing Artifact of size 5632... -time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall655616128/device_type" -time="2024-01-06T23:39:17Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:17Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-06T23:39:17Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:17Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-06T23:39:17Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall655616128/artifact_info file." -time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall655616128/artifact_info" -time="2024-01-06T23:39:17Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: old_name" -time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall655616128/artifact_info" -time="2024-01-06T23:39:17Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall655616128/device_type" -time="2024-01-06T23:39:17Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall655616128/modules/test-type Download /tmp/TestStandaloneModuleInstall655616128/work/payloads/0000/tree" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall773400482/device_type" +time="2025-02-08T06:08:35Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: Download_Enter_00" +time="2025-02-08T06:08:35Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:35Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2025-02-08T06:08:35Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall773400482/artifact_info file." +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall773400482/artifact_info" +time="2025-02-08T06:08:35Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall773400482/artifact_info" +time="2025-02-08T06:08:35Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall773400482/device_type" +time="2025-02-08T06:08:35Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall773400482/modules/test-type Download /tmp/TestStandaloneModuleInstall773400482/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:17Z" level=debug msg="Executing script: Download_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall655616128/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall655616128/work/payloads/0000/tree" -time="2024-01-06T23:39:17Z" level=debug msg="Update module output: Yes" -time="2024-01-06T23:39:17Z" level=debug msg="Module supports rollback" -time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall655616128/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall655616128/work/payloads/0000/tree" -time="2024-01-06T23:39:17Z" level=error msg="Update module terminated abnormally: exit status 1" -time="2024-01-06T23:39:17Z" level=error msg="Installation failed: Update module terminated abnormally: exit status 1" -time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactInstall_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall655616128/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall655616128/work/payloads/0000/tree" -time="2024-01-06T23:39:17Z" level=debug msg="Update module output: Yes" -time="2024-01-06T23:39:17Z" level=debug msg="Module supports rollback" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: Download_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall773400482/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall773400482/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Update module output: Yes" +time="2025-02-08T06:08:35Z" level=debug msg="Module supports rollback" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall773400482/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall773400482/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=error msg="Update module terminated abnormally: exit status 1" +time="2025-02-08T06:08:35Z" level=error msg="Installation failed: Update module terminated abnormally: exit status 1" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactInstall_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall773400482/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall773400482/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Update module output: Yes" +time="2025-02-08T06:08:35Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall655616128/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall655616128/work/payloads/0000/tree" -time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall655616128/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall655616128/work/payloads/0000/tree" -time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall655616128/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall655616128/work/payloads/0000/tree" -time="2024-01-06T23:39:17Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall655616128/artifact_info file." -time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall655616128/artifact_info" -time="2024-01-06T23:39:17Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: old_name" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall773400482/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall773400482/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall773400482/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall773400482/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall773400482/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall773400482/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall773400482/artifact_info file." +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall773400482/artifact_info" +time="2025-02-08T06:08:35Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_ArtifactInstall_Leave_00 -time="2024-01-06T23:39:17Z" level=debug msg="Starting device update." -time="2024-01-06T23:39:17Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall062801769/artifact.mender]" -time="2024-01-06T23:39:17Z" level=debug msg="Fetching update from file results: [&{0x40005da1e0}], 5632, " +time="2025-02-08T06:08:35Z" level=debug msg="Starting device update." +time="2025-02-08T06:08:35Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall529249843/artifact.mender]" +time="2025-02-08T06:08:35Z" level=debug msg="Fetching update from file results: [&{0x400056a3c0}], 5632, " Installing Artifact of size 5632... -time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall062801769/device_type" -time="2024-01-06T23:39:17Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:17Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-06T23:39:17Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:17Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-06T23:39:17Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall062801769/artifact_info file." -time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall062801769/artifact_info" -time="2024-01-06T23:39:17Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: old_name" -time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall062801769/artifact_info" -time="2024-01-06T23:39:17Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall062801769/device_type" -time="2024-01-06T23:39:17Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall062801769/modules/test-type Download /tmp/TestStandaloneModuleInstall062801769/work/payloads/0000/tree" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall529249843/device_type" +time="2025-02-08T06:08:35Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: Download_Enter_00" +time="2025-02-08T06:08:35Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:35Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2025-02-08T06:08:35Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall529249843/artifact_info file." +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall529249843/artifact_info" +time="2025-02-08T06:08:35Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall529249843/artifact_info" +time="2025-02-08T06:08:35Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall529249843/device_type" +time="2025-02-08T06:08:35Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall529249843/modules/test-type Download /tmp/TestStandaloneModuleInstall529249843/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:17Z" level=debug msg="Executing script: Download_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall062801769/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall062801769/work/payloads/0000/tree" -time="2024-01-06T23:39:17Z" level=debug msg="Update module output: Yes" -time="2024-01-06T23:39:17Z" level=debug msg="Module supports rollback" -time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall062801769/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall062801769/work/payloads/0000/tree" -time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2024-01-06T23:39:17Z" level=error msg="ArtifactInstall_Leave script failed: statescript: error executing 'ArtifactInstall_Leave_00': 1 : exit status 1" -time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactInstall_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall062801769/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall062801769/work/payloads/0000/tree" -time="2024-01-06T23:39:17Z" level=debug msg="Update module output: Yes" -time="2024-01-06T23:39:17Z" level=debug msg="Module supports rollback" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: Download_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall529249843/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall529249843/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Update module output: Yes" +time="2025-02-08T06:08:35Z" level=debug msg="Module supports rollback" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall529249843/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall529249843/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2025-02-08T06:08:35Z" level=error msg="ArtifactInstall_Leave script failed: statescript: error executing 'ArtifactInstall_Leave_00': 1 : exit status 1" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactInstall_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall529249843/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall529249843/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Update module output: Yes" +time="2025-02-08T06:08:35Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall062801769/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall062801769/work/payloads/0000/tree" -time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall062801769/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall062801769/work/payloads/0000/tree" -time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall062801769/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall062801769/work/payloads/0000/tree" -time="2024-01-06T23:39:17Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall062801769/artifact_info file." -time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall062801769/artifact_info" -time="2024-01-06T23:39:17Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: old_name" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall529249843/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall529249843/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall529249843/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall529249843/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall529249843/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall529249843/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall529249843/artifact_info file." +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall529249843/artifact_info" +time="2025-02-08T06:08:35Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Enter_00 -time="2024-01-06T23:39:17Z" level=debug msg="Starting device update." -time="2024-01-06T23:39:17Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall077855494/artifact.mender]" -time="2024-01-06T23:39:17Z" level=debug msg="Fetching update from file results: [&{0x400030c420}], 5632, " +time="2025-02-08T06:08:35Z" level=debug msg="Starting device update." +time="2025-02-08T06:08:35Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall418526360/artifact.mender]" +time="2025-02-08T06:08:35Z" level=debug msg="Fetching update from file results: [&{0x400021a1e0}], 5632, " Installing Artifact of size 5632... -time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall077855494/device_type" -time="2024-01-06T23:39:17Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:17Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-06T23:39:17Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:17Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-06T23:39:17Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall077855494/artifact_info file." -time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall077855494/artifact_info" -time="2024-01-06T23:39:17Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: old_name" -time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall077855494/artifact_info" -time="2024-01-06T23:39:17Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall077855494/device_type" -time="2024-01-06T23:39:17Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:17Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:17Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall077855494/modules/test-type Download /tmp/TestStandaloneModuleInstall077855494/work/payloads/0000/tree" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall418526360/device_type" +time="2025-02-08T06:08:35Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: Download_Enter_00" +time="2025-02-08T06:08:35Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:35Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2025-02-08T06:08:35Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall418526360/artifact_info file." +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall418526360/artifact_info" +time="2025-02-08T06:08:35Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall418526360/artifact_info" +time="2025-02-08T06:08:35Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall418526360/device_type" +time="2025-02-08T06:08:35Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall418526360/modules/test-type Download /tmp/TestStandaloneModuleInstall418526360/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:17Z" level=debug msg="Executing script: Download_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall077855494/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall077855494/work/payloads/0000/tree" -time="2024-01-06T23:39:17Z" level=debug msg="Update module output: Yes" -time="2024-01-06T23:39:17Z" level=debug msg="Module supports rollback" -time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall077855494/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall077855494/work/payloads/0000/tree" -time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall077855494/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall077855494/work/payloads/0000/tree" -time="2024-01-06T23:39:17Z" level=debug msg="Update module output: Yes" -time="2024-01-06T23:39:17Z" level=debug msg="Module needs custom reboot" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: Download_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall418526360/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall418526360/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Update module output: Yes" +time="2025-02-08T06:08:35Z" level=debug msg="Module supports rollback" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall418526360/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall418526360/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall418526360/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall418526360/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Update module output: Yes" +time="2025-02-08T06:08:35Z" level=debug msg="Module needs custom reboot" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. Committing Artifact... -time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" -time="2024-01-06T23:39:17Z" level=error msg="ArtifactCommit_Enter script failed: statescript: error executing 'ArtifactCommit_Enter_00': 1 : exit status 1" -time="2024-01-06T23:39:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:17Z" level=debug msg="Executing script: ArtifactCommit_Error_00" -time="2024-01-06T23:39:17Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-06T23:39:17Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall077855494/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall077855494/work/payloads/0000/tree" -time="2024-01-06T23:39:18Z" level=debug msg="Update module output: Yes" -time="2024-01-06T23:39:18Z" level=debug msg="Module supports rollback" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" +time="2025-02-08T06:08:35Z" level=error msg="ArtifactCommit_Enter script failed: statescript: error executing 'ArtifactCommit_Enter_00': 1 : exit status 1" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactCommit_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall418526360/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall418526360/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Update module output: Yes" +time="2025-02-08T06:08:35Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall077855494/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall077855494/work/payloads/0000/tree" -time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall077855494/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall077855494/work/payloads/0000/tree" -time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall077855494/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall077855494/work/payloads/0000/tree" -time="2024-01-06T23:39:18Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall077855494/artifact_info file." -time="2024-01-06T23:39:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall077855494/artifact_info" -time="2024-01-06T23:39:18Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:18Z" level=debug msg="Current manifest data: old_name" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall418526360/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall418526360/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall418526360/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall418526360/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall418526360/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall418526360/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall418526360/artifact_info file." +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall418526360/artifact_info" +time="2025-02-08T06:08:35Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit -time="2024-01-06T23:39:18Z" level=debug msg="Starting device update." -time="2024-01-06T23:39:18Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall072529767/artifact.mender]" -time="2024-01-06T23:39:18Z" level=debug msg="Fetching update from file results: [&{0x40003a6120}], 5632, " +time="2025-02-08T06:08:35Z" level=debug msg="Starting device update." +time="2025-02-08T06:08:35Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall105765729/artifact.mender]" +time="2025-02-08T06:08:35Z" level=debug msg="Fetching update from file results: [&{0x40002342a0}], 5632, " Installing Artifact of size 5632... -time="2024-01-06T23:39:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall072529767/device_type" -time="2024-01-06T23:39:18Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:18Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:18Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-06T23:39:18Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:18Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-06T23:39:18Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall072529767/artifact_info file." -time="2024-01-06T23:39:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall072529767/artifact_info" -time="2024-01-06T23:39:18Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:18Z" level=debug msg="Current manifest data: old_name" -time="2024-01-06T23:39:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall072529767/artifact_info" -time="2024-01-06T23:39:18Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall072529767/device_type" -time="2024-01-06T23:39:18Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:18Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall072529767/modules/test-type Download /tmp/TestStandaloneModuleInstall072529767/work/payloads/0000/tree" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall105765729/device_type" +time="2025-02-08T06:08:35Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: Download_Enter_00" +time="2025-02-08T06:08:35Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:35Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2025-02-08T06:08:35Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall105765729/artifact_info file." +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall105765729/artifact_info" +time="2025-02-08T06:08:35Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall105765729/artifact_info" +time="2025-02-08T06:08:35Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall105765729/device_type" +time="2025-02-08T06:08:35Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall105765729/modules/test-type Download /tmp/TestStandaloneModuleInstall105765729/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:18Z" level=debug msg="Executing script: Download_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall072529767/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall072529767/work/payloads/0000/tree" -time="2024-01-06T23:39:18Z" level=debug msg="Update module output: Yes" -time="2024-01-06T23:39:18Z" level=debug msg="Module supports rollback" -time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall072529767/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall072529767/work/payloads/0000/tree" -time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall072529767/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall072529767/work/payloads/0000/tree" -time="2024-01-06T23:39:18Z" level=debug msg="Update module output: Yes" -time="2024-01-06T23:39:18Z" level=debug msg="Module needs custom reboot" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: Download_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall105765729/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall105765729/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Update module output: Yes" +time="2025-02-08T06:08:35Z" level=debug msg="Module supports rollback" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall105765729/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall105765729/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall105765729/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall105765729/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Update module output: Yes" +time="2025-02-08T06:08:35Z" level=debug msg="Module needs custom reboot" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. Committing Artifact... -time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" -time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall072529767/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall072529767/work/payloads/0000/tree" -time="2024-01-06T23:39:18Z" level=error msg="Update module terminated abnormally: exit status 1" -time="2024-01-06T23:39:18Z" level=error msg="Commit failed: Update module terminated abnormally: exit status 1" -time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactCommit_Error_00" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall072529767/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall072529767/work/payloads/0000/tree" -time="2024-01-06T23:39:18Z" level=debug msg="Update module output: Yes" -time="2024-01-06T23:39:18Z" level=debug msg="Module supports rollback" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall105765729/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall105765729/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=error msg="Update module terminated abnormally: exit status 1" +time="2025-02-08T06:08:35Z" level=error msg="Commit failed: Update module terminated abnormally: exit status 1" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactCommit_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall105765729/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall105765729/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Update module output: Yes" +time="2025-02-08T06:08:35Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall072529767/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall072529767/work/payloads/0000/tree" -time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall072529767/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall072529767/work/payloads/0000/tree" -time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall072529767/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall072529767/work/payloads/0000/tree" -time="2024-01-06T23:39:18Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall072529767/artifact_info file." -time="2024-01-06T23:39:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall072529767/artifact_info" -time="2024-01-06T23:39:18Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:18Z" level=debug msg="Current manifest data: old_name" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall105765729/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall105765729/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall105765729/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall105765729/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall105765729/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall105765729/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall105765729/artifact_info file." +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall105765729/artifact_info" +time="2025-02-08T06:08:35Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Leave_00 -time="2024-01-06T23:39:18Z" level=debug msg="Starting device update." -time="2024-01-06T23:39:18Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall724791260/artifact.mender]" -time="2024-01-06T23:39:18Z" level=debug msg="Fetching update from file results: [&{0x400057e120}], 5632, " +time="2025-02-08T06:08:35Z" level=debug msg="Starting device update." +time="2025-02-08T06:08:35Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall783309918/artifact.mender]" +time="2025-02-08T06:08:35Z" level=debug msg="Fetching update from file results: [&{0x40005787e0}], 5632, " Installing Artifact of size 5632... -time="2024-01-06T23:39:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall724791260/device_type" -time="2024-01-06T23:39:18Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:18Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:18Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-06T23:39:18Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:18Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-06T23:39:18Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall724791260/artifact_info file." -time="2024-01-06T23:39:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall724791260/artifact_info" -time="2024-01-06T23:39:18Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:18Z" level=debug msg="Current manifest data: old_name" -time="2024-01-06T23:39:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall724791260/artifact_info" -time="2024-01-06T23:39:18Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall724791260/device_type" -time="2024-01-06T23:39:18Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:18Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall724791260/modules/test-type Download /tmp/TestStandaloneModuleInstall724791260/work/payloads/0000/tree" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall783309918/device_type" +time="2025-02-08T06:08:35Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: Download_Enter_00" +time="2025-02-08T06:08:35Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:35Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2025-02-08T06:08:35Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall783309918/artifact_info file." +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall783309918/artifact_info" +time="2025-02-08T06:08:35Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall783309918/artifact_info" +time="2025-02-08T06:08:35Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall783309918/device_type" +time="2025-02-08T06:08:35Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall783309918/modules/test-type Download /tmp/TestStandaloneModuleInstall783309918/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:18Z" level=debug msg="Executing script: Download_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall724791260/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall724791260/work/payloads/0000/tree" -time="2024-01-06T23:39:18Z" level=debug msg="Update module output: Yes" -time="2024-01-06T23:39:18Z" level=debug msg="Module supports rollback" -time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall724791260/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall724791260/work/payloads/0000/tree" -time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall724791260/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall724791260/work/payloads/0000/tree" -time="2024-01-06T23:39:18Z" level=debug msg="Update module output: Yes" -time="2024-01-06T23:39:18Z" level=debug msg="Module needs custom reboot" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: Download_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall783309918/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall783309918/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Update module output: Yes" +time="2025-02-08T06:08:35Z" level=debug msg="Module supports rollback" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall783309918/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall783309918/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall783309918/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall783309918/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Update module output: Yes" +time="2025-02-08T06:08:35Z" level=debug msg="Module needs custom reboot" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. Committing Artifact... -time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" -time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall724791260/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall724791260/work/payloads/0000/tree" -time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" -time="2024-01-06T23:39:18Z" level=error msg="ArtifactCommit_Leave script failed: statescript: error executing 'ArtifactCommit_Leave_00': 1 : exit status 1" -time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactCommit_Error_00" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall724791260/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall724791260/work/payloads/0000/tree" -time="2024-01-06T23:39:18Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall783309918/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall783309918/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" +time="2025-02-08T06:08:35Z" level=error msg="ArtifactCommit_Leave script failed: statescript: error executing 'ArtifactCommit_Leave_00': 1 : exit status 1" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactCommit_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall783309918/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall783309918/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Enter_00,_no_rollback -time="2024-01-06T23:39:18Z" level=debug msg="Starting device update." -time="2024-01-06T23:39:18Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall040084981/artifact.mender]" -time="2024-01-06T23:39:18Z" level=debug msg="Fetching update from file results: [&{0x400016e180}], 5632, " +time="2025-02-08T06:08:35Z" level=debug msg="Starting device update." +time="2025-02-08T06:08:35Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall520591775/artifact.mender]" +time="2025-02-08T06:08:35Z" level=debug msg="Fetching update from file results: [&{0x400056a2a0}], 5632, " Installing Artifact of size 5632... -time="2024-01-06T23:39:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall040084981/device_type" -time="2024-01-06T23:39:18Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:18Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:18Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-06T23:39:18Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:18Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-06T23:39:18Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall040084981/artifact_info file." -time="2024-01-06T23:39:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall040084981/artifact_info" -time="2024-01-06T23:39:18Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:18Z" level=debug msg="Current manifest data: old_name" -time="2024-01-06T23:39:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall040084981/artifact_info" -time="2024-01-06T23:39:18Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall040084981/device_type" -time="2024-01-06T23:39:18Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:18Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall040084981/modules/test-type Download /tmp/TestStandaloneModuleInstall040084981/work/payloads/0000/tree" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall520591775/device_type" +time="2025-02-08T06:08:35Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: Download_Enter_00" +time="2025-02-08T06:08:35Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:35Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2025-02-08T06:08:35Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall520591775/artifact_info file." +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall520591775/artifact_info" +time="2025-02-08T06:08:35Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall520591775/artifact_info" +time="2025-02-08T06:08:35Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall520591775/device_type" +time="2025-02-08T06:08:35Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall520591775/modules/test-type Download /tmp/TestStandaloneModuleInstall520591775/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:18Z" level=debug msg="Executing script: Download_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall040084981/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall040084981/work/payloads/0000/tree" -time="2024-01-06T23:39:18Z" level=debug msg="Update module output: No" -time="2024-01-06T23:39:18Z" level=debug msg="Module does not support rollback" -time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall040084981/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall040084981/work/payloads/0000/tree" -time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall040084981/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall040084981/work/payloads/0000/tree" -time="2024-01-06T23:39:18Z" level=debug msg="Update module output: Yes" -time="2024-01-06T23:39:18Z" level=debug msg="Module needs custom reboot" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: Download_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall520591775/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall520591775/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Update module output: No" +time="2025-02-08T06:08:35Z" level=debug msg="Module does not support rollback" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall520591775/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall520591775/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall520591775/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall520591775/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Update module output: Yes" +time="2025-02-08T06:08:35Z" level=debug msg="Module needs custom reboot" Artifact doesn't support rollback. Committing immediately. Committing Artifact... -time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" -time="2024-01-06T23:39:18Z" level=error msg="ArtifactCommit_Enter script failed: statescript: error executing 'ArtifactCommit_Enter_00': 1 : exit status 1" -time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactCommit_Error_00" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall040084981/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall040084981/work/payloads/0000/tree" -time="2024-01-06T23:39:18Z" level=debug msg="Update module output: No" -time="2024-01-06T23:39:18Z" level=debug msg="Module does not support rollback" -time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall040084981/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall040084981/work/payloads/0000/tree" -time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall040084981/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall040084981/work/payloads/0000/tree" -time="2024-01-06T23:39:18Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" +time="2025-02-08T06:08:35Z" level=error msg="ArtifactCommit_Enter script failed: statescript: error executing 'ArtifactCommit_Enter_00': 1 : exit status 1" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactCommit_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall520591775/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall520591775/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Update module output: No" +time="2025-02-08T06:08:35Z" level=debug msg="Module does not support rollback" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall520591775/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall520591775/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall520591775/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall520591775/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit,_no_rollback -time="2024-01-06T23:39:18Z" level=debug msg="Starting device update." -time="2024-01-06T23:39:18Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall142122626/artifact.mender]" -time="2024-01-06T23:39:18Z" level=debug msg="Fetching update from file results: [&{0x400030c480}], 5632, " +time="2025-02-08T06:08:35Z" level=debug msg="Starting device update." +time="2025-02-08T06:08:35Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall978172020/artifact.mender]" +time="2025-02-08T06:08:35Z" level=debug msg="Fetching update from file results: [&{0x40005a6240}], 5632, " Installing Artifact of size 5632... -time="2024-01-06T23:39:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall142122626/device_type" -time="2024-01-06T23:39:18Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:18Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:18Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-06T23:39:18Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:18Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-06T23:39:18Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall142122626/artifact_info file." -time="2024-01-06T23:39:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall142122626/artifact_info" -time="2024-01-06T23:39:18Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:18Z" level=debug msg="Current manifest data: old_name" -time="2024-01-06T23:39:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall142122626/artifact_info" -time="2024-01-06T23:39:18Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall142122626/device_type" -time="2024-01-06T23:39:18Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:18Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall142122626/modules/test-type Download /tmp/TestStandaloneModuleInstall142122626/work/payloads/0000/tree" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall978172020/device_type" +time="2025-02-08T06:08:35Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: Download_Enter_00" +time="2025-02-08T06:08:35Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:35Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2025-02-08T06:08:35Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall978172020/artifact_info file." +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall978172020/artifact_info" +time="2025-02-08T06:08:35Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall978172020/artifact_info" +time="2025-02-08T06:08:35Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall978172020/device_type" +time="2025-02-08T06:08:35Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall978172020/modules/test-type Download /tmp/TestStandaloneModuleInstall978172020/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:18Z" level=debug msg="Executing script: Download_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall142122626/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall142122626/work/payloads/0000/tree" -time="2024-01-06T23:39:18Z" level=debug msg="Update module output: No" -time="2024-01-06T23:39:18Z" level=debug msg="Module does not support rollback" -time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall142122626/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall142122626/work/payloads/0000/tree" -time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall142122626/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall142122626/work/payloads/0000/tree" -time="2024-01-06T23:39:18Z" level=debug msg="Update module output: Yes" -time="2024-01-06T23:39:18Z" level=debug msg="Module needs custom reboot" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: Download_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall978172020/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall978172020/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Update module output: No" +time="2025-02-08T06:08:35Z" level=debug msg="Module does not support rollback" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall978172020/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall978172020/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall978172020/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall978172020/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Update module output: Yes" +time="2025-02-08T06:08:35Z" level=debug msg="Module needs custom reboot" Artifact doesn't support rollback. Committing immediately. Committing Artifact... -time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" -time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall142122626/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall142122626/work/payloads/0000/tree" -time="2024-01-06T23:39:18Z" level=error msg="Update module terminated abnormally: exit status 1" -time="2024-01-06T23:39:18Z" level=error msg="Commit failed: Update module terminated abnormally: exit status 1" -time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactCommit_Error_00" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall142122626/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall142122626/work/payloads/0000/tree" -time="2024-01-06T23:39:18Z" level=debug msg="Update module output: No" -time="2024-01-06T23:39:18Z" level=debug msg="Module does not support rollback" -time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall142122626/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall142122626/work/payloads/0000/tree" -time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall142122626/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall142122626/work/payloads/0000/tree" -time="2024-01-06T23:39:18Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall978172020/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall978172020/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=error msg="Update module terminated abnormally: exit status 1" +time="2025-02-08T06:08:35Z" level=error msg="Commit failed: Update module terminated abnormally: exit status 1" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactCommit_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall978172020/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall978172020/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Update module output: No" +time="2025-02-08T06:08:35Z" level=debug msg="Module does not support rollback" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall978172020/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall978172020/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall978172020/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall978172020/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Leave_00,_no_rollback -time="2024-01-06T23:39:18Z" level=debug msg="Starting device update." -time="2024-01-06T23:39:18Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall728727699/artifact.mender]" -time="2024-01-06T23:39:18Z" level=debug msg="Fetching update from file results: [&{0x40001d4300}], 5632, " +time="2025-02-08T06:08:35Z" level=debug msg="Starting device update." +time="2025-02-08T06:08:35Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall565064813/artifact.mender]" +time="2025-02-08T06:08:35Z" level=debug msg="Fetching update from file results: [&{0x40002344e0}], 5632, " Installing Artifact of size 5632... -time="2024-01-06T23:39:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall728727699/device_type" -time="2024-01-06T23:39:18Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:18Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:18Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-06T23:39:18Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:18Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-06T23:39:18Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall728727699/artifact_info file." -time="2024-01-06T23:39:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall728727699/artifact_info" -time="2024-01-06T23:39:18Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:18Z" level=debug msg="Current manifest data: old_name" -time="2024-01-06T23:39:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall728727699/artifact_info" -time="2024-01-06T23:39:18Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall728727699/device_type" -time="2024-01-06T23:39:18Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:18Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:18Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall728727699/modules/test-type Download /tmp/TestStandaloneModuleInstall728727699/work/payloads/0000/tree" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall565064813/device_type" +time="2025-02-08T06:08:35Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: Download_Enter_00" +time="2025-02-08T06:08:35Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:35Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2025-02-08T06:08:35Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall565064813/artifact_info file." +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall565064813/artifact_info" +time="2025-02-08T06:08:35Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall565064813/artifact_info" +time="2025-02-08T06:08:35Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall565064813/device_type" +time="2025-02-08T06:08:35Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall565064813/modules/test-type Download /tmp/TestStandaloneModuleInstall565064813/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:18Z" level=debug msg="Executing script: Download_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall728727699/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall728727699/work/payloads/0000/tree" -time="2024-01-06T23:39:18Z" level=debug msg="Update module output: No" -time="2024-01-06T23:39:18Z" level=debug msg="Module does not support rollback" -time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall728727699/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall728727699/work/payloads/0000/tree" -time="2024-01-06T23:39:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:18Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2024-01-06T23:39:18Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2024-01-06T23:39:18Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall728727699/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall728727699/work/payloads/0000/tree" -time="2024-01-06T23:39:19Z" level=debug msg="Update module output: Yes" -time="2024-01-06T23:39:19Z" level=debug msg="Module needs custom reboot" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: Download_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall565064813/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall565064813/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Update module output: No" +time="2025-02-08T06:08:35Z" level=debug msg="Module does not support rollback" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall565064813/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall565064813/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall565064813/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall565064813/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Update module output: Yes" +time="2025-02-08T06:08:35Z" level=debug msg="Module needs custom reboot" Artifact doesn't support rollback. Committing immediately. Committing Artifact... -time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" -time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall728727699/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall728727699/work/payloads/0000/tree" -time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" -time="2024-01-06T23:39:19Z" level=error msg="ArtifactCommit_Leave script failed: statescript: error executing 'ArtifactCommit_Leave_00': 1 : exit status 1" -time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactCommit_Error_00" -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall728727699/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall728727699/work/payloads/0000/tree" -time="2024-01-06T23:39:19Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall565064813/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall565064813/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" +time="2025-02-08T06:08:35Z" level=error msg="ArtifactCommit_Leave script failed: statescript: error executing 'ArtifactCommit_Leave_00': 1 : exit status 1" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactCommit_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall565064813/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall565064813/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_ArtifactRollback_Enter_00 -time="2024-01-06T23:39:19Z" level=debug msg="Starting device update." -time="2024-01-06T23:39:19Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall694201464/artifact.mender]" -time="2024-01-06T23:39:19Z" level=debug msg="Fetching update from file results: [&{0x40000e01e0}], 5632, " +time="2025-02-08T06:08:35Z" level=debug msg="Starting device update." +time="2025-02-08T06:08:35Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall122572378/artifact.mender]" +time="2025-02-08T06:08:35Z" level=debug msg="Fetching update from file results: [&{0x40002344e0}], 5632, " Installing Artifact of size 5632... -time="2024-01-06T23:39:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall694201464/device_type" -time="2024-01-06T23:39:19Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:19Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:19Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-06T23:39:19Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:19Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-06T23:39:19Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall694201464/artifact_info file." -time="2024-01-06T23:39:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall694201464/artifact_info" -time="2024-01-06T23:39:19Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:19Z" level=debug msg="Current manifest data: old_name" -time="2024-01-06T23:39:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall694201464/artifact_info" -time="2024-01-06T23:39:19Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall694201464/device_type" -time="2024-01-06T23:39:19Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:19Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall694201464/modules/test-type Download /tmp/TestStandaloneModuleInstall694201464/work/payloads/0000/tree" -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall122572378/device_type" +time="2025-02-08T06:08:35Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: Download_Enter_00" +time="2025-02-08T06:08:35Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:35Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2025-02-08T06:08:35Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall122572378/artifact_info file." +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall122572378/artifact_info" +time="2025-02-08T06:08:35Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall122572378/artifact_info" +time="2025-02-08T06:08:35Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall122572378/device_type" +time="2025-02-08T06:08:35Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall122572378/modules/test-type Download /tmp/TestStandaloneModuleInstall122572378/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:19Z" level=debug msg="Executing script: Download_Leave_00" -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall694201464/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall694201464/work/payloads/0000/tree" -time="2024-01-06T23:39:19Z" level=debug msg="Update module output: Yes" -time="2024-01-06T23:39:19Z" level=debug msg="Module supports rollback" -time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall694201464/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall694201464/work/payloads/0000/tree" -time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall694201464/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall694201464/work/payloads/0000/tree" -time="2024-01-06T23:39:19Z" level=debug msg="Update module output: Yes" -time="2024-01-06T23:39:19Z" level=debug msg="Module needs custom reboot" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: Download_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall122572378/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall122572378/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Update module output: Yes" +time="2025-02-08T06:08:35Z" level=debug msg="Module supports rollback" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall122572378/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall122572378/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall122572378/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall122572378/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Update module output: Yes" +time="2025-02-08T06:08:35Z" level=debug msg="Module needs custom reboot" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall694201464/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall694201464/work/payloads/0000/tree" -time="2024-01-06T23:39:19Z" level=debug msg="Update module output: Yes" -time="2024-01-06T23:39:19Z" level=debug msg="Module supports rollback" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall122572378/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall122572378/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Update module output: Yes" +time="2025-02-08T06:08:35Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2024-01-06T23:39:19Z" level=error msg="Error when executing ArtifactRollback_Enter scripts: statescript: error executing 'ArtifactRollback_Enter_00': 1 : exit status 1" -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall694201464/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall694201464/work/payloads/0000/tree" -time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2024-01-06T23:39:19Z" level=error msg="Error rolling back: statescript: error executing 'ArtifactRollback_Enter_00': 1 : exit status 1" -time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall694201464/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall694201464/work/payloads/0000/tree" -time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall694201464/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall694201464/work/payloads/0000/tree" -time="2024-01-06T23:39:19Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2025-02-08T06:08:35Z" level=error msg="Error when executing ArtifactRollback_Enter scripts: statescript: error executing 'ArtifactRollback_Enter_00': 1 : exit status 1" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall122572378/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall122572378/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2025-02-08T06:08:35Z" level=error msg="Error rolling back: statescript: error executing 'ArtifactRollback_Enter_00': 1 : exit status 1" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall122572378/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall122572378/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall122572378/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall122572378/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_ArtifactRollback -time="2024-01-06T23:39:19Z" level=debug msg="Starting device update." -time="2024-01-06T23:39:19Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall449288385/artifact.mender]" -time="2024-01-06T23:39:19Z" level=debug msg="Fetching update from file results: [&{0x400010c180}], 5632, " +time="2025-02-08T06:08:35Z" level=debug msg="Starting device update." +time="2025-02-08T06:08:35Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall279899467/artifact.mender]" +time="2025-02-08T06:08:35Z" level=debug msg="Fetching update from file results: [&{0x40005787e0}], 5632, " Installing Artifact of size 5632... -time="2024-01-06T23:39:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall449288385/device_type" -time="2024-01-06T23:39:19Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:19Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:19Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-06T23:39:19Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:19Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-06T23:39:19Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall449288385/artifact_info file." -time="2024-01-06T23:39:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall449288385/artifact_info" -time="2024-01-06T23:39:19Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:19Z" level=debug msg="Current manifest data: old_name" -time="2024-01-06T23:39:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall449288385/artifact_info" -time="2024-01-06T23:39:19Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall449288385/device_type" -time="2024-01-06T23:39:19Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:19Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall449288385/modules/test-type Download /tmp/TestStandaloneModuleInstall449288385/work/payloads/0000/tree" -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall279899467/device_type" +time="2025-02-08T06:08:35Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: Download_Enter_00" +time="2025-02-08T06:08:35Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:35Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2025-02-08T06:08:35Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall279899467/artifact_info file." +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall279899467/artifact_info" +time="2025-02-08T06:08:35Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall279899467/artifact_info" +time="2025-02-08T06:08:35Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall279899467/device_type" +time="2025-02-08T06:08:35Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall279899467/modules/test-type Download /tmp/TestStandaloneModuleInstall279899467/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:19Z" level=debug msg="Executing script: Download_Leave_00" -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall449288385/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall449288385/work/payloads/0000/tree" -time="2024-01-06T23:39:19Z" level=debug msg="Update module output: Yes" -time="2024-01-06T23:39:19Z" level=debug msg="Module supports rollback" -time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall449288385/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall449288385/work/payloads/0000/tree" -time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall449288385/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall449288385/work/payloads/0000/tree" -time="2024-01-06T23:39:19Z" level=debug msg="Update module output: Yes" -time="2024-01-06T23:39:19Z" level=debug msg="Module needs custom reboot" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: Download_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall279899467/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall279899467/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Update module output: Yes" +time="2025-02-08T06:08:35Z" level=debug msg="Module supports rollback" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall279899467/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall279899467/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall279899467/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall279899467/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Update module output: Yes" +time="2025-02-08T06:08:35Z" level=debug msg="Module needs custom reboot" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall449288385/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall449288385/work/payloads/0000/tree" -time="2024-01-06T23:39:19Z" level=debug msg="Update module output: Yes" -time="2024-01-06T23:39:19Z" level=debug msg="Module supports rollback" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall279899467/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall279899467/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Update module output: Yes" +time="2025-02-08T06:08:35Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall449288385/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall449288385/work/payloads/0000/tree" -time="2024-01-06T23:39:19Z" level=error msg="Update module terminated abnormally: exit status 1" -time="2024-01-06T23:39:19Z" level=error msg="Error when executing ArtifactRollback state: Update module terminated abnormally: exit status 1" -time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2024-01-06T23:39:19Z" level=error msg="Error rolling back: Update module terminated abnormally: exit status 1" -time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall449288385/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall449288385/work/payloads/0000/tree" -time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall449288385/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall449288385/work/payloads/0000/tree" -time="2024-01-06T23:39:19Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall279899467/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall279899467/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=error msg="Update module terminated abnormally: exit status 1" +time="2025-02-08T06:08:35Z" level=error msg="Error when executing ArtifactRollback state: Update module terminated abnormally: exit status 1" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2025-02-08T06:08:35Z" level=error msg="Error rolling back: Update module terminated abnormally: exit status 1" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall279899467/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall279899467/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall279899467/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall279899467/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_ArtifactRollback_Leave_00 -time="2024-01-06T23:39:19Z" level=debug msg="Starting device update." -time="2024-01-06T23:39:19Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall609600318/artifact.mender]" -time="2024-01-06T23:39:19Z" level=debug msg="Fetching update from file results: [&{0x400010c120}], 5632, " +time="2025-02-08T06:08:35Z" level=debug msg="Starting device update." +time="2025-02-08T06:08:35Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall821933456/artifact.mender]" +time="2025-02-08T06:08:35Z" level=debug msg="Fetching update from file results: [&{0x40005a62a0}], 5632, " Installing Artifact of size 5632... -time="2024-01-06T23:39:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall609600318/device_type" -time="2024-01-06T23:39:19Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:19Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:19Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-06T23:39:19Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:19Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-06T23:39:19Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall609600318/artifact_info file." -time="2024-01-06T23:39:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall609600318/artifact_info" -time="2024-01-06T23:39:19Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:19Z" level=debug msg="Current manifest data: old_name" -time="2024-01-06T23:39:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall609600318/artifact_info" -time="2024-01-06T23:39:19Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall609600318/device_type" -time="2024-01-06T23:39:19Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:19Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall609600318/modules/test-type Download /tmp/TestStandaloneModuleInstall609600318/work/payloads/0000/tree" -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall821933456/device_type" +time="2025-02-08T06:08:35Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: Download_Enter_00" +time="2025-02-08T06:08:35Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:35Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2025-02-08T06:08:35Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall821933456/artifact_info file." +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall821933456/artifact_info" +time="2025-02-08T06:08:35Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall821933456/artifact_info" +time="2025-02-08T06:08:35Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall821933456/device_type" +time="2025-02-08T06:08:35Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall821933456/modules/test-type Download /tmp/TestStandaloneModuleInstall821933456/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:19Z" level=debug msg="Executing script: Download_Leave_00" -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall609600318/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall609600318/work/payloads/0000/tree" -time="2024-01-06T23:39:19Z" level=debug msg="Update module output: Yes" -time="2024-01-06T23:39:19Z" level=debug msg="Module supports rollback" -time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall609600318/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall609600318/work/payloads/0000/tree" -time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall609600318/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall609600318/work/payloads/0000/tree" -time="2024-01-06T23:39:19Z" level=debug msg="Update module output: Yes" -time="2024-01-06T23:39:19Z" level=debug msg="Module needs custom reboot" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: Download_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall821933456/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall821933456/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Update module output: Yes" +time="2025-02-08T06:08:35Z" level=debug msg="Module supports rollback" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall821933456/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall821933456/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall821933456/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall821933456/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Update module output: Yes" +time="2025-02-08T06:08:35Z" level=debug msg="Module needs custom reboot" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall609600318/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall609600318/work/payloads/0000/tree" -time="2024-01-06T23:39:19Z" level=debug msg="Update module output: Yes" -time="2024-01-06T23:39:19Z" level=debug msg="Module supports rollback" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall821933456/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall821933456/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Update module output: Yes" +time="2025-02-08T06:08:35Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall609600318/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall609600318/work/payloads/0000/tree" -time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2024-01-06T23:39:19Z" level=error msg="Error when executing ArtifactFailure_Leave scripts: statescript: error executing 'ArtifactRollback_Leave_00': 1 : exit status 1" -time="2024-01-06T23:39:19Z" level=error msg="Error rolling back: statescript: error executing 'ArtifactRollback_Leave_00': 1 : exit status 1" -time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall609600318/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall609600318/work/payloads/0000/tree" -time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall609600318/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall609600318/work/payloads/0000/tree" -time="2024-01-06T23:39:19Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall821933456/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall821933456/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2025-02-08T06:08:35Z" level=error msg="Error when executing ArtifactFailure_Leave scripts: statescript: error executing 'ArtifactRollback_Leave_00': 1 : exit status 1" +time="2025-02-08T06:08:35Z" level=error msg="Error rolling back: statescript: error executing 'ArtifactRollback_Leave_00': 1 : exit status 1" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall821933456/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall821933456/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall821933456/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall821933456/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback_Enter_00 -time="2024-01-06T23:39:19Z" level=debug msg="Starting device update." -time="2024-01-06T23:39:19Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall070334975/artifact.mender]" -time="2024-01-06T23:39:19Z" level=debug msg="Fetching update from file results: [&{0x400022c300}], 5632, " +time="2025-02-08T06:08:35Z" level=debug msg="Starting device update." +time="2025-02-08T06:08:35Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall580282297/artifact.mender]" +time="2025-02-08T06:08:35Z" level=debug msg="Fetching update from file results: [&{0x4000578b40}], 5632, " Installing Artifact of size 5632... -time="2024-01-06T23:39:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall070334975/device_type" -time="2024-01-06T23:39:19Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:19Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:19Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-06T23:39:19Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:19Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-06T23:39:19Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall070334975/artifact_info file." -time="2024-01-06T23:39:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall070334975/artifact_info" -time="2024-01-06T23:39:19Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:19Z" level=debug msg="Current manifest data: old_name" -time="2024-01-06T23:39:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall070334975/artifact_info" -time="2024-01-06T23:39:19Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall070334975/device_type" -time="2024-01-06T23:39:19Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:19Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall070334975/modules/test-type Download /tmp/TestStandaloneModuleInstall070334975/work/payloads/0000/tree" -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall580282297/device_type" +time="2025-02-08T06:08:35Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: Download_Enter_00" +time="2025-02-08T06:08:35Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:35Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2025-02-08T06:08:35Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall580282297/artifact_info file." +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall580282297/artifact_info" +time="2025-02-08T06:08:35Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall580282297/artifact_info" +time="2025-02-08T06:08:35Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall580282297/device_type" +time="2025-02-08T06:08:35Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:35Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall580282297/modules/test-type Download /tmp/TestStandaloneModuleInstall580282297/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:19Z" level=debug msg="Executing script: Download_Leave_00" -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall070334975/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall070334975/work/payloads/0000/tree" -time="2024-01-06T23:39:19Z" level=debug msg="Update module output: Yes" -time="2024-01-06T23:39:19Z" level=debug msg="Module supports rollback" -time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall070334975/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall070334975/work/payloads/0000/tree" -time="2024-01-06T23:39:19Z" level=error msg="Update module terminated abnormally: exit status 1" -time="2024-01-06T23:39:19Z" level=error msg="Installation failed: Update module terminated abnormally: exit status 1" -time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactInstall_Error_00" -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall070334975/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall070334975/work/payloads/0000/tree" -time="2024-01-06T23:39:19Z" level=debug msg="Update module output: Yes" -time="2024-01-06T23:39:19Z" level=debug msg="Module supports rollback" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: Download_Leave_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall580282297/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall580282297/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Update module output: Yes" +time="2025-02-08T06:08:35Z" level=debug msg="Module supports rollback" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall580282297/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall580282297/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=error msg="Update module terminated abnormally: exit status 1" +time="2025-02-08T06:08:35Z" level=error msg="Installation failed: Update module terminated abnormally: exit status 1" +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactInstall_Error_00" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall580282297/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall580282297/work/payloads/0000/tree" +time="2025-02-08T06:08:35Z" level=debug msg="Update module output: Yes" +time="2025-02-08T06:08:35Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2024-01-06T23:39:19Z" level=error msg="Error when executing ArtifactRollback_Enter scripts: statescript: error executing 'ArtifactRollback_Enter_00': 1 : exit status 1" -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall070334975/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall070334975/work/payloads/0000/tree" -time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2024-01-06T23:39:19Z" level=error msg="Error rolling back: statescript: error executing 'ArtifactRollback_Enter_00': 1 : exit status 1" -time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall070334975/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall070334975/work/payloads/0000/tree" -time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall070334975/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall070334975/work/payloads/0000/tree" -time="2024-01-06T23:39:19Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." +time="2025-02-08T06:08:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:35Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2025-02-08T06:08:35Z" level=error msg="Error when executing ArtifactRollback_Enter scripts: statescript: error executing 'ArtifactRollback_Enter_00': 1 : exit status 1" +time="2025-02-08T06:08:35Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2025-02-08T06:08:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall580282297/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall580282297/work/payloads/0000/tree" +time="2025-02-08T06:08:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:36Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2025-02-08T06:08:36Z" level=error msg="Error rolling back: statescript: error executing 'ArtifactRollback_Enter_00': 1 : exit status 1" +time="2025-02-08T06:08:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:36Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2025-02-08T06:08:36Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2025-02-08T06:08:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall580282297/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall580282297/work/payloads/0000/tree" +time="2025-02-08T06:08:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:36Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2025-02-08T06:08:36Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2025-02-08T06:08:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall580282297/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall580282297/work/payloads/0000/tree" +time="2025-02-08T06:08:36Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback -time="2024-01-06T23:39:19Z" level=debug msg="Starting device update." -time="2024-01-06T23:39:19Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall241263700/artifact.mender]" -time="2024-01-06T23:39:19Z" level=debug msg="Fetching update from file results: [&{0x4000310180}], 5632, " +time="2025-02-08T06:08:36Z" level=debug msg="Starting device update." +time="2025-02-08T06:08:36Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall727003542/artifact.mender]" +time="2025-02-08T06:08:36Z" level=debug msg="Fetching update from file results: [&{0x400056a240}], 5632, " Installing Artifact of size 5632... -time="2024-01-06T23:39:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall241263700/device_type" -time="2024-01-06T23:39:19Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:19Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:19Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-06T23:39:19Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:19Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-06T23:39:19Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall241263700/artifact_info file." -time="2024-01-06T23:39:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall241263700/artifact_info" -time="2024-01-06T23:39:19Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:19Z" level=debug msg="Current manifest data: old_name" -time="2024-01-06T23:39:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall241263700/artifact_info" -time="2024-01-06T23:39:19Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall241263700/device_type" -time="2024-01-06T23:39:19Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:19Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:19Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall241263700/modules/test-type Download /tmp/TestStandaloneModuleInstall241263700/work/payloads/0000/tree" -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2025-02-08T06:08:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall727003542/device_type" +time="2025-02-08T06:08:36Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:36Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:36Z" level=debug msg="Executing script: Download_Enter_00" +time="2025-02-08T06:08:36Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:36Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2025-02-08T06:08:36Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2025-02-08T06:08:36Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall727003542/artifact_info file." +time="2025-02-08T06:08:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall727003542/artifact_info" +time="2025-02-08T06:08:36Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:36Z" level=debug msg="Current manifest data: old_name" +time="2025-02-08T06:08:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall727003542/artifact_info" +time="2025-02-08T06:08:36Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall727003542/device_type" +time="2025-02-08T06:08:36Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:36Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2025-02-08T06:08:36Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2025-02-08T06:08:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall727003542/modules/test-type Download /tmp/TestStandaloneModuleInstall727003542/work/payloads/0000/tree" +time="2025-02-08T06:08:36Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:19Z" level=debug msg="Executing script: Download_Leave_00" -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall241263700/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall241263700/work/payloads/0000/tree" -time="2024-01-06T23:39:19Z" level=debug msg="Update module output: Yes" -time="2024-01-06T23:39:19Z" level=debug msg="Module supports rollback" -time="2024-01-06T23:39:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:19Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2024-01-06T23:39:19Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2024-01-06T23:39:19Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall241263700/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall241263700/work/payloads/0000/tree" -time="2024-01-06T23:39:20Z" level=error msg="Update module terminated abnormally: exit status 1" -time="2024-01-06T23:39:20Z" level=error msg="Installation failed: Update module terminated abnormally: exit status 1" -time="2024-01-06T23:39:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:20Z" level=debug msg="Executing script: ArtifactInstall_Error_00" -time="2024-01-06T23:39:20Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-06T23:39:20Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall241263700/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall241263700/work/payloads/0000/tree" -time="2024-01-06T23:39:20Z" level=debug msg="Update module output: Yes" -time="2024-01-06T23:39:20Z" level=debug msg="Module supports rollback" +time="2025-02-08T06:08:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:36Z" level=debug msg="Executing script: Download_Leave_00" +time="2025-02-08T06:08:36Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2025-02-08T06:08:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall727003542/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall727003542/work/payloads/0000/tree" +time="2025-02-08T06:08:36Z" level=debug msg="Update module output: Yes" +time="2025-02-08T06:08:36Z" level=debug msg="Module supports rollback" +time="2025-02-08T06:08:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:36Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2025-02-08T06:08:36Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2025-02-08T06:08:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall727003542/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall727003542/work/payloads/0000/tree" +time="2025-02-08T06:08:36Z" level=error msg="Update module terminated abnormally: exit status 1" +time="2025-02-08T06:08:36Z" level=error msg="Installation failed: Update module terminated abnormally: exit status 1" +time="2025-02-08T06:08:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:36Z" level=debug msg="Executing script: ArtifactInstall_Error_00" +time="2025-02-08T06:08:36Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2025-02-08T06:08:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall727003542/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall727003542/work/payloads/0000/tree" +time="2025-02-08T06:08:36Z" level=debug msg="Update module output: Yes" +time="2025-02-08T06:08:36Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2024-01-06T23:39:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:20Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2024-01-06T23:39:20Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2024-01-06T23:39:20Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall241263700/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall241263700/work/payloads/0000/tree" -time="2024-01-06T23:39:20Z" level=error msg="Update module terminated abnormally: exit status 1" -time="2024-01-06T23:39:20Z" level=error msg="Error when executing ArtifactRollback state: Update module terminated abnormally: exit status 1" -time="2024-01-06T23:39:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:20Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2024-01-06T23:39:20Z" level=error msg="Error rolling back: Update module terminated abnormally: exit status 1" -time="2024-01-06T23:39:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:20Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2024-01-06T23:39:20Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2024-01-06T23:39:20Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall241263700/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall241263700/work/payloads/0000/tree" -time="2024-01-06T23:39:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:20Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2024-01-06T23:39:20Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2024-01-06T23:39:20Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall241263700/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall241263700/work/payloads/0000/tree" -time="2024-01-06T23:39:20Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." +time="2025-02-08T06:08:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:36Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2025-02-08T06:08:36Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2025-02-08T06:08:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall727003542/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall727003542/work/payloads/0000/tree" +time="2025-02-08T06:08:36Z" level=error msg="Update module terminated abnormally: exit status 1" +time="2025-02-08T06:08:36Z" level=error msg="Error when executing ArtifactRollback state: Update module terminated abnormally: exit status 1" +time="2025-02-08T06:08:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:36Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2025-02-08T06:08:36Z" level=error msg="Error rolling back: Update module terminated abnormally: exit status 1" +time="2025-02-08T06:08:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:36Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2025-02-08T06:08:36Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2025-02-08T06:08:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall727003542/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall727003542/work/payloads/0000/tree" +time="2025-02-08T06:08:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:36Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2025-02-08T06:08:36Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2025-02-08T06:08:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall727003542/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall727003542/work/payloads/0000/tree" +time="2025-02-08T06:08:36Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback_Leave_00 -time="2024-01-06T23:39:20Z" level=debug msg="Starting device update." -time="2024-01-06T23:39:20Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall106669005/artifact.mender]" -time="2024-01-06T23:39:20Z" level=debug msg="Fetching update from file results: [&{0x40001b2180}], 5632, " +time="2025-02-08T06:08:36Z" level=debug msg="Starting device update." +time="2025-02-08T06:08:36Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall285959479/artifact.mender]" +time="2025-02-08T06:08:36Z" level=debug msg="Fetching update from file results: [&{0x400021a4e0}], 5632, " Installing Artifact of size 5632... -time="2024-01-06T23:39:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall106669005/device_type" -time="2024-01-06T23:39:20Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:20Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:20Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-06T23:39:20Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:20Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-06T23:39:20Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-06T23:39:20Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall106669005/artifact_info file." -time="2024-01-06T23:39:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall106669005/artifact_info" -time="2024-01-06T23:39:20Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:20Z" level=debug msg="Current manifest data: old_name" -time="2024-01-06T23:39:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall106669005/artifact_info" -time="2024-01-06T23:39:20Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall106669005/device_type" -time="2024-01-06T23:39:20Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:20Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:20Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-06T23:39:20Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-06T23:39:20Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall106669005/modules/test-type Download /tmp/TestStandaloneModuleInstall106669005/work/payloads/0000/tree" -time="2024-01-06T23:39:20Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2025-02-08T06:08:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall285959479/device_type" +time="2025-02-08T06:08:36Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:36Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:36Z" level=debug msg="Executing script: Download_Enter_00" +time="2025-02-08T06:08:36Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:36Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2025-02-08T06:08:36Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2025-02-08T06:08:36Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall285959479/artifact_info file." +time="2025-02-08T06:08:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall285959479/artifact_info" +time="2025-02-08T06:08:36Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:36Z" level=debug msg="Current manifest data: old_name" +time="2025-02-08T06:08:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall285959479/artifact_info" +time="2025-02-08T06:08:36Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall285959479/device_type" +time="2025-02-08T06:08:36Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:36Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2025-02-08T06:08:36Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2025-02-08T06:08:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall285959479/modules/test-type Download /tmp/TestStandaloneModuleInstall285959479/work/payloads/0000/tree" +time="2025-02-08T06:08:36Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2024-01-06T23:39:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:20Z" level=debug msg="Executing script: Download_Leave_00" -time="2024-01-06T23:39:20Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-06T23:39:20Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall106669005/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall106669005/work/payloads/0000/tree" -time="2024-01-06T23:39:20Z" level=debug msg="Update module output: Yes" -time="2024-01-06T23:39:20Z" level=debug msg="Module supports rollback" -time="2024-01-06T23:39:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:20Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2024-01-06T23:39:20Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2024-01-06T23:39:20Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall106669005/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall106669005/work/payloads/0000/tree" -time="2024-01-06T23:39:20Z" level=error msg="Update module terminated abnormally: exit status 1" -time="2024-01-06T23:39:20Z" level=error msg="Installation failed: Update module terminated abnormally: exit status 1" -time="2024-01-06T23:39:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:20Z" level=debug msg="Executing script: ArtifactInstall_Error_00" -time="2024-01-06T23:39:20Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-06T23:39:20Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall106669005/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall106669005/work/payloads/0000/tree" -time="2024-01-06T23:39:20Z" level=debug msg="Update module output: Yes" -time="2024-01-06T23:39:20Z" level=debug msg="Module supports rollback" +time="2025-02-08T06:08:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:36Z" level=debug msg="Executing script: Download_Leave_00" +time="2025-02-08T06:08:36Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2025-02-08T06:08:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall285959479/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall285959479/work/payloads/0000/tree" +time="2025-02-08T06:08:36Z" level=debug msg="Update module output: Yes" +time="2025-02-08T06:08:36Z" level=debug msg="Module supports rollback" +time="2025-02-08T06:08:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:36Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2025-02-08T06:08:36Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2025-02-08T06:08:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall285959479/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall285959479/work/payloads/0000/tree" +time="2025-02-08T06:08:36Z" level=error msg="Update module terminated abnormally: exit status 1" +time="2025-02-08T06:08:36Z" level=error msg="Installation failed: Update module terminated abnormally: exit status 1" +time="2025-02-08T06:08:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:36Z" level=debug msg="Executing script: ArtifactInstall_Error_00" +time="2025-02-08T06:08:36Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2025-02-08T06:08:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall285959479/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall285959479/work/payloads/0000/tree" +time="2025-02-08T06:08:36Z" level=debug msg="Update module output: Yes" +time="2025-02-08T06:08:36Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2024-01-06T23:39:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:20Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2024-01-06T23:39:20Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2024-01-06T23:39:20Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall106669005/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall106669005/work/payloads/0000/tree" -time="2024-01-06T23:39:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:20Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2024-01-06T23:39:20Z" level=error msg="Error when executing ArtifactFailure_Leave scripts: statescript: error executing 'ArtifactRollback_Leave_00': 1 : exit status 1" -time="2024-01-06T23:39:20Z" level=error msg="Error rolling back: statescript: error executing 'ArtifactRollback_Leave_00': 1 : exit status 1" -time="2024-01-06T23:39:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:20Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2024-01-06T23:39:20Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2024-01-06T23:39:20Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall106669005/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall106669005/work/payloads/0000/tree" -time="2024-01-06T23:39:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:20Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2024-01-06T23:39:20Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2024-01-06T23:39:20Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall106669005/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall106669005/work/payloads/0000/tree" -time="2024-01-06T23:39:20Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." +time="2025-02-08T06:08:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:36Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2025-02-08T06:08:36Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2025-02-08T06:08:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall285959479/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall285959479/work/payloads/0000/tree" +time="2025-02-08T06:08:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:36Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2025-02-08T06:08:36Z" level=error msg="Error when executing ArtifactFailure_Leave scripts: statescript: error executing 'ArtifactRollback_Leave_00': 1 : exit status 1" +time="2025-02-08T06:08:36Z" level=error msg="Error rolling back: statescript: error executing 'ArtifactRollback_Leave_00': 1 : exit status 1" +time="2025-02-08T06:08:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:36Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2025-02-08T06:08:36Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2025-02-08T06:08:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall285959479/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall285959479/work/payloads/0000/tree" +time="2025-02-08T06:08:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:36Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2025-02-08T06:08:36Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2025-02-08T06:08:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall285959479/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall285959479/work/payloads/0000/tree" +time="2025-02-08T06:08:36Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Hang_in_Download -time="2024-01-06T23:39:20Z" level=debug msg="Starting device update." -time="2024-01-06T23:39:20Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall059975482/artifact.mender]" -time="2024-01-06T23:39:20Z" level=debug msg="Fetching update from file results: [&{0x400055a420}], 5632, " +time="2025-02-08T06:08:36Z" level=debug msg="Starting device update." +time="2025-02-08T06:08:36Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall769421804/artifact.mender]" +time="2025-02-08T06:08:36Z" level=debug msg="Fetching update from file results: [&{0x4000578b40}], 5632, " Installing Artifact of size 5632... -time="2024-01-06T23:39:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall059975482/device_type" -time="2024-01-06T23:39:20Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:20Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:20Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-06T23:39:20Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:20Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-06T23:39:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-06T23:39:20Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-06T23:39:20Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall059975482/artifact_info file." -time="2024-01-06T23:39:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall059975482/artifact_info" -time="2024-01-06T23:39:20Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:20Z" level=debug msg="Current manifest data: old_name" -time="2024-01-06T23:39:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall059975482/artifact_info" -time="2024-01-06T23:39:20Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall059975482/device_type" -time="2024-01-06T23:39:20Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:20Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:20Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-06T23:39:20Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-06T23:39:20Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall059975482/modules/test-type Download /tmp/TestStandaloneModuleInstall059975482/work/payloads/0000/tree" -time="2024-01-06T23:39:20Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" -time="2024-01-06T23:39:25Z" level=error msg="Process 3321797 timed out. Sending SIGTERM" -time="2024-01-06T23:39:25Z" level=error msg="Download failed: Update module terminated abnormally: signal: terminated" -time="2024-01-06T23:39:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:25Z" level=debug msg="Executing script: Download_Error_00" -time="2024-01-06T23:39:25Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2024-01-06T23:39:25Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall059975482/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall059975482/work/payloads/0000/tree" -time="2024-01-06T23:39:25Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall059975482/artifact_info file." -time="2024-01-06T23:39:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall059975482/artifact_info" -time="2024-01-06T23:39:25Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:25Z" level=debug msg="Current manifest data: old_name" +time="2025-02-08T06:08:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall769421804/device_type" +time="2025-02-08T06:08:36Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:36Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:36Z" level=debug msg="Executing script: Download_Enter_00" +time="2025-02-08T06:08:36Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:36Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2025-02-08T06:08:36Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2025-02-08T06:08:36Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall769421804/artifact_info file." +time="2025-02-08T06:08:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall769421804/artifact_info" +time="2025-02-08T06:08:36Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:36Z" level=debug msg="Current manifest data: old_name" +time="2025-02-08T06:08:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall769421804/artifact_info" +time="2025-02-08T06:08:36Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall769421804/device_type" +time="2025-02-08T06:08:36Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:36Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:36Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2025-02-08T06:08:36Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2025-02-08T06:08:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall769421804/modules/test-type Download /tmp/TestStandaloneModuleInstall769421804/work/payloads/0000/tree" +time="2025-02-08T06:08:36Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2025-02-08T06:08:41Z" level=error msg="Process 1753706 timed out. Sending SIGTERM" +time="2025-02-08T06:08:41Z" level=error msg="Download failed: Update module terminated abnormally: signal: terminated" +time="2025-02-08T06:08:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:41Z" level=debug msg="Executing script: Download_Error_00" +time="2025-02-08T06:08:41Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2025-02-08T06:08:41Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall769421804/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall769421804/work/payloads/0000/tree" +time="2025-02-08T06:08:41Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall769421804/artifact_info file." +time="2025-02-08T06:08:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall769421804/artifact_info" +time="2025-02-08T06:08:41Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:41Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Hang_in_ArtifactInstall -time="2024-01-06T23:39:25Z" level=debug msg="Starting device update." -time="2024-01-06T23:39:25Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall614660523/artifact.mender]" -time="2024-01-06T23:39:25Z" level=debug msg="Fetching update from file results: [&{0x400034c2a0}], 5632, " +time="2025-02-08T06:08:41Z" level=debug msg="Starting device update." +time="2025-02-08T06:08:41Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall647761221/artifact.mender]" +time="2025-02-08T06:08:41Z" level=debug msg="Fetching update from file results: [&{0x40002c0120}], 5632, " Installing Artifact of size 5632... -time="2024-01-06T23:39:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall614660523/device_type" -time="2024-01-06T23:39:25Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:25Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:25Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-06T23:39:25Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:25Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-06T23:39:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-06T23:39:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-06T23:39:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-06T23:39:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-06T23:39:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-06T23:39:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-06T23:39:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-06T23:39:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-06T23:39:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-06T23:39:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-06T23:39:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-06T23:39:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-06T23:39:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-06T23:39:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-06T23:39:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-06T23:39:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-06T23:39:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-06T23:39:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-06T23:39:25Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-06T23:39:25Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall614660523/artifact_info file." -time="2024-01-06T23:39:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall614660523/artifact_info" -time="2024-01-06T23:39:25Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:25Z" level=debug msg="Current manifest data: old_name" -time="2024-01-06T23:39:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall614660523/artifact_info" -time="2024-01-06T23:39:25Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall614660523/device_type" -time="2024-01-06T23:39:25Z" level=debug msg="device_type=test-device" -time="2024-01-06T23:39:25Z" level=debug msg="Current manifest data: test-device" -time="2024-01-06T23:39:25Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-06T23:39:25Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-06T23:39:25Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall614660523/modules/test-type Download /tmp/TestStandaloneModuleInstall614660523/work/payloads/0000/tree" -time="2024-01-06T23:39:25Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2025-02-08T06:08:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall647761221/device_type" +time="2025-02-08T06:08:41Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:41Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:41Z" level=debug msg="Executing script: Download_Enter_00" +time="2025-02-08T06:08:41Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:41Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2025-02-08T06:08:41Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2025-02-08T06:08:41Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2025-02-08T06:08:41Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2025-02-08T06:08:41Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2025-02-08T06:08:41Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2025-02-08T06:08:41Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2025-02-08T06:08:41Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2025-02-08T06:08:41Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2025-02-08T06:08:41Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2025-02-08T06:08:41Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2025-02-08T06:08:41Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2025-02-08T06:08:41Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2025-02-08T06:08:41Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2025-02-08T06:08:41Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2025-02-08T06:08:41Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2025-02-08T06:08:41Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2025-02-08T06:08:41Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2025-02-08T06:08:41Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2025-02-08T06:08:41Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2025-02-08T06:08:41Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall647761221/artifact_info file." +time="2025-02-08T06:08:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall647761221/artifact_info" +time="2025-02-08T06:08:41Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:41Z" level=debug msg="Current manifest data: old_name" +time="2025-02-08T06:08:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall647761221/artifact_info" +time="2025-02-08T06:08:41Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall647761221/device_type" +time="2025-02-08T06:08:41Z" level=debug msg="device_type=test-device" +time="2025-02-08T06:08:41Z" level=debug msg="Current manifest data: test-device" +time="2025-02-08T06:08:41Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2025-02-08T06:08:41Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2025-02-08T06:08:41Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall647761221/modules/test-type Download /tmp/TestStandaloneModuleInstall647761221/work/payloads/0000/tree" +time="2025-02-08T06:08:41Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2024-01-06T23:39:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:25Z" level=debug msg="Executing script: Download_Leave_00" -time="2024-01-06T23:39:25Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-06T23:39:25Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall614660523/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall614660523/work/payloads/0000/tree" -time="2024-01-06T23:39:25Z" level=debug msg="Update module output: Yes" -time="2024-01-06T23:39:25Z" level=debug msg="Module supports rollback" -time="2024-01-06T23:39:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:25Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2024-01-06T23:39:25Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2024-01-06T23:39:25Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall614660523/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall614660523/work/payloads/0000/tree" -time="2024-01-06T23:39:30Z" level=error msg="Process 3323052 timed out. Sending SIGTERM" -time="2024-01-06T23:39:30Z" level=error msg="Update module terminated abnormally: signal: terminated" -time="2024-01-06T23:39:30Z" level=error msg="Installation failed: Update module terminated abnormally: signal: terminated" -time="2024-01-06T23:39:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:30Z" level=debug msg="Executing script: ArtifactInstall_Error_00" -time="2024-01-06T23:39:30Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-06T23:39:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall614660523/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall614660523/work/payloads/0000/tree" -time="2024-01-06T23:39:30Z" level=debug msg="Update module output: Yes" -time="2024-01-06T23:39:30Z" level=debug msg="Module supports rollback" +time="2025-02-08T06:08:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:41Z" level=debug msg="Executing script: Download_Leave_00" +time="2025-02-08T06:08:41Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2025-02-08T06:08:41Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall647761221/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall647761221/work/payloads/0000/tree" +time="2025-02-08T06:08:41Z" level=debug msg="Update module output: Yes" +time="2025-02-08T06:08:41Z" level=debug msg="Module supports rollback" +time="2025-02-08T06:08:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:41Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2025-02-08T06:08:41Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2025-02-08T06:08:41Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall647761221/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall647761221/work/payloads/0000/tree" +time="2025-02-08T06:08:46Z" level=error msg="Process 1753734 timed out. Sending SIGTERM" +time="2025-02-08T06:08:46Z" level=error msg="Update module terminated abnormally: signal: terminated" +time="2025-02-08T06:08:46Z" level=error msg="Installation failed: Update module terminated abnormally: signal: terminated" +time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:46Z" level=debug msg="Executing script: ArtifactInstall_Error_00" +time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2025-02-08T06:08:46Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall647761221/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall647761221/work/payloads/0000/tree" +time="2025-02-08T06:08:46Z" level=debug msg="Update module output: Yes" +time="2025-02-08T06:08:46Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2024-01-06T23:39:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:30Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2024-01-06T23:39:30Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2024-01-06T23:39:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall614660523/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall614660523/work/payloads/0000/tree" -time="2024-01-06T23:39:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:30Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2024-01-06T23:39:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:30Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2024-01-06T23:39:30Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2024-01-06T23:39:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall614660523/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall614660523/work/payloads/0000/tree" -time="2024-01-06T23:39:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:39:30Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2024-01-06T23:39:30Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2024-01-06T23:39:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall614660523/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall614660523/work/payloads/0000/tree" -time="2024-01-06T23:39:30Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall614660523/artifact_info file." -time="2024-01-06T23:39:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall614660523/artifact_info" -time="2024-01-06T23:39:30Z" level=debug msg="artifact_name=old_name" -time="2024-01-06T23:39:30Z" level=debug msg="Current manifest data: old_name" ---- PASS: TestStandaloneModuleInstall (14.12s) - --- PASS: TestStandaloneModuleInstall/Normal_install,_no_rollback (0.18s) - --- PASS: TestStandaloneModuleInstall/Normal_install (0.13s) - --- PASS: TestStandaloneModuleInstall/Normal_commit (0.20s) - --- PASS: TestStandaloneModuleInstall/Normal_rollback (0.18s) +time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:46Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2025-02-08T06:08:46Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall647761221/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall647761221/work/payloads/0000/tree" +time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:46Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:46Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2025-02-08T06:08:46Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall647761221/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall647761221/work/payloads/0000/tree" +time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:08:46Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2025-02-08T06:08:46Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall647761221/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall647761221/work/payloads/0000/tree" +time="2025-02-08T06:08:46Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall647761221/artifact_info file." +time="2025-02-08T06:08:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall647761221/artifact_info" +time="2025-02-08T06:08:46Z" level=debug msg="artifact_name=old_name" +time="2025-02-08T06:08:46Z" level=debug msg="Current manifest data: old_name" +--- PASS: TestStandaloneModuleInstall (11.27s) + --- PASS: TestStandaloneModuleInstall/Normal_install,_no_rollback (0.05s) + --- PASS: TestStandaloneModuleInstall/Normal_install (0.03s) + --- PASS: TestStandaloneModuleInstall/Normal_commit (0.04s) + --- PASS: TestStandaloneModuleInstall/Normal_rollback (0.14s) --- PASS: TestStandaloneModuleInstall/Fail_in_Download_Enter_00 (0.02s) - --- PASS: TestStandaloneModuleInstall/Fail_in_Download (0.04s) - --- PASS: TestStandaloneModuleInstall/Fail_in_Download_Leave_00 (0.10s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactInstall_Enter_00 (0.14s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactInstall (0.13s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactInstall_Leave_00 (0.21s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Enter_00 (0.26s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit (0.21s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Leave_00 (0.16s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Enter_00,_no_rollback (0.19s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit,_no_rollback (0.26s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Leave_00,_no_rollback (0.17s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactRollback_Enter_00 (0.22s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactRollback (0.17s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactRollback_Leave_00 (0.22s) - --- PASS: TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback_Enter_00 (0.24s) - --- PASS: TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback (0.20s) - --- PASS: TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback_Leave_00 (0.19s) - --- PASS: TestStandaloneModuleInstall/Hang_in_Download (5.12s) - --- PASS: TestStandaloneModuleInstall/Hang_in_ArtifactInstall (5.20s) + --- PASS: TestStandaloneModuleInstall/Fail_in_Download (0.02s) + --- PASS: TestStandaloneModuleInstall/Fail_in_Download_Leave_00 (0.03s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactInstall_Enter_00 (0.06s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactInstall (0.05s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactInstall_Leave_00 (0.06s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Enter_00 (0.07s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit (0.07s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Leave_00 (0.05s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Enter_00,_no_rollback (0.05s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit,_no_rollback (0.06s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Leave_00,_no_rollback (0.05s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactRollback_Enter_00 (0.06s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactRollback (0.06s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactRollback_Leave_00 (0.06s) + --- PASS: TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback_Enter_00 (0.06s) + --- PASS: TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback (0.06s) + --- PASS: TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback_Leave_00 (0.06s) + --- PASS: TestStandaloneModuleInstall/Hang_in_Download (5.02s) + --- PASS: TestStandaloneModuleInstall/Hang_in_ArtifactInstall (5.05s) === RUN TestStandaloneStoreAndRestore -time="2024-01-06T23:39:30Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" - standalone_test.go:1053: Running test: {Persist ArtifactName 0x400022efc0 []} -time="2024-01-06T23:39:30Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" - standalone_test.go:1053: Running test: {Persist ArtifactName and Artifact Group 0x400022f000 []} -time="2024-01-06T23:39:30Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" - standalone_test.go:1053: Running test: {Persist ArtifactName and Artifact Group and TypeInfo 0x400022f080 []} -time="2024-01-06T23:39:30Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" +time="2025-02-08T06:08:46Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" + standalone_test.go:1053: Running test: {Persist ArtifactName 0x40000200c0 []} +time="2025-02-08T06:08:46Z" 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 0x4000020180 []} +time="2025-02-08T06:08:46Z" 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 0x4000020240 []} +time="2025-02-08T06:08:46Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" --- PASS: TestStandaloneStoreAndRestore (0.00s) === RUN TestStateBase --- PASS: TestStateBase (0.00s) === RUN TestStateWait -time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" -time="2024-01-06T23:39:30Z" level=info msg="Wait canceled" -time="2024-01-06T23:39:30Z" level=info msg="Forced wake-up from sleep" +time="2025-02-08T06:08:46Z" level=debug msg="Wait complete" +time="2025-02-08T06:08:46Z" level=info msg="Wait canceled" +time="2025-02-08T06:08:46Z" level=info msg="Forced wake-up from sleep" --- PASS: TestStateWait (0.10s) === RUN TestStateError -time="2024-01-06T23:39:30Z" level=info msg="Handling error state, current error: transient error: foo" -time="2024-01-06T23:39:30Z" level=info msg="Handling error state, current error: fatal error: general error" +time="2025-02-08T06:08:46Z" level=info msg="Handling error state, current error: transient error: foo" +time="2025-02-08T06:08:46Z" level=info msg="Handling error state, current error: fatal error: general error" --- PASS: TestStateError (0.00s) === RUN TestStateUpdateReportStatus -time="2024-01-06T23:39:30Z" level=info msg="Running Mender client version: unknown" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" -time="2024-01-06T23:39:30Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2024-01-06T23:39:30Z" level=debug msg="Reporting complete" -time="2024-01-06T23:39:30Z" level=info msg="Running Mender client version: unknown" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" -time="2024-01-06T23:39:30Z" level=debug msg="Reporting complete" -time="2024-01-06T23:39:30Z" level=info msg="Running Mender client version: unknown" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" -time="2024-01-06T23:39:30Z" level=error msg="Failed to send status to server: transient error: report failed" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" -time="2024-01-06T23:39:30Z" level=error msg="Failed to send status to server: transient error: test error sending status" -time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" -time="2024-01-06T23:39:30Z" level=error msg="Failed to send status to server: transient error: test error sending status" -time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" -time="2024-01-06T23:39:30Z" level=error msg="Failed to send status to server: transient error: test error sending status" -time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" -time="2024-01-06T23:39:30Z" level=error msg="Failed to send status to server: transient error: test error sending status" -time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" -time="2024-01-06T23:39:30Z" level=error msg="Failed to send status to server: transient error: test error sending status" -time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" -time="2024-01-06T23:39:30Z" level=error msg="Failed to send status to server: transient error: test error sending status" -time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" -time="2024-01-06T23:39:30Z" level=error msg="Failed to send status to server: transient error: test error sending status" -time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" -time="2024-01-06T23:39:30Z" level=error msg="Failed to send status to server: transient error: test error sending status" -time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" -time="2024-01-06T23:39:30Z" level=error msg="Failed to send status to server: transient error: test error sending status" -time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" -time="2024-01-06T23:39:30Z" level=error msg="Failed to send status to server: transient error: test error sending status" -time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" -time="2024-01-06T23:39:30Z" level=error msg="Failed to send status to server: transient error: test error sending status" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" -time="2024-01-06T23:39:30Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2024-01-06T23:39:30Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" -time="2024-01-06T23:39:30Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" -time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" -time="2024-01-06T23:39:30Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2024-01-06T23:39:30Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" -time="2024-01-06T23:39:30Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" -time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" -time="2024-01-06T23:39:30Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2024-01-06T23:39:30Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" -time="2024-01-06T23:39:30Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" -time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" -time="2024-01-06T23:39:30Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2024-01-06T23:39:30Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" -time="2024-01-06T23:39:30Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" -time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" -time="2024-01-06T23:39:30Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2024-01-06T23:39:30Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" -time="2024-01-06T23:39:30Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" -time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" -time="2024-01-06T23:39:30Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2024-01-06T23:39:30Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" -time="2024-01-06T23:39:30Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" -time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" -time="2024-01-06T23:39:30Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2024-01-06T23:39:30Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" -time="2024-01-06T23:39:30Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" -time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" -time="2024-01-06T23:39:30Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2024-01-06T23:39:30Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" -time="2024-01-06T23:39:30Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" -time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" -time="2024-01-06T23:39:30Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2024-01-06T23:39:30Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" -time="2024-01-06T23:39:30Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" -time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" -time="2024-01-06T23:39:30Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2024-01-06T23:39:30Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" -time="2024-01-06T23:39:30Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" -time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" -time="2024-01-06T23:39:30Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2024-01-06T23:39:30Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" -time="2024-01-06T23:39:30Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" -time="2024-01-06T23:39:30Z" level=error msg="Failed to send status to server: fatal error: deployment was aborted" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update status report state" -time="2024-01-06T23:39:30Z" level=error msg="Failed to send status to server: fatal error: deployment was aborted" +time="2025-02-08T06:08:46Z" level=info msg="Running Mender client version: unknown" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update status report state" +time="2025-02-08T06:08:46Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2025-02-08T06:08:46Z" level=debug msg="Reporting complete" +time="2025-02-08T06:08:46Z" level=info msg="Running Mender client version: unknown" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update status report state" +time="2025-02-08T06:08:46Z" level=debug msg="Reporting complete" +time="2025-02-08T06:08:46Z" level=info msg="Running Mender client version: unknown" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update status report state" +time="2025-02-08T06:08:46Z" level=error msg="Failed to send status to server: transient error: report failed" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update status report state" +time="2025-02-08T06:08:46Z" level=error msg="Failed to send status to server: transient error: test error sending status" +time="2025-02-08T06:08:46Z" level=debug msg="Wait complete" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update status report state" +time="2025-02-08T06:08:46Z" level=error msg="Failed to send status to server: transient error: test error sending status" +time="2025-02-08T06:08:46Z" level=debug msg="Wait complete" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update status report state" +time="2025-02-08T06:08:46Z" level=error msg="Failed to send status to server: transient error: test error sending status" +time="2025-02-08T06:08:46Z" level=debug msg="Wait complete" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update status report state" +time="2025-02-08T06:08:46Z" level=error msg="Failed to send status to server: transient error: test error sending status" +time="2025-02-08T06:08:46Z" level=debug msg="Wait complete" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update status report state" +time="2025-02-08T06:08:46Z" level=error msg="Failed to send status to server: transient error: test error sending status" +time="2025-02-08T06:08:46Z" level=debug msg="Wait complete" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update status report state" +time="2025-02-08T06:08:46Z" level=error msg="Failed to send status to server: transient error: test error sending status" +time="2025-02-08T06:08:46Z" level=debug msg="Wait complete" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update status report state" +time="2025-02-08T06:08:46Z" level=error msg="Failed to send status to server: transient error: test error sending status" +time="2025-02-08T06:08:46Z" level=debug msg="Wait complete" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update status report state" +time="2025-02-08T06:08:46Z" level=error msg="Failed to send status to server: transient error: test error sending status" +time="2025-02-08T06:08:46Z" level=debug msg="Wait complete" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update status report state" +time="2025-02-08T06:08:46Z" level=error msg="Failed to send status to server: transient error: test error sending status" +time="2025-02-08T06:08:46Z" level=debug msg="Wait complete" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update status report state" +time="2025-02-08T06:08:46Z" level=error msg="Failed to send status to server: transient error: test error sending status" +time="2025-02-08T06:08:46Z" level=debug msg="Wait complete" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update status report state" +time="2025-02-08T06:08:46Z" level=error msg="Failed to send status to server: transient error: test error sending status" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update status report state" +time="2025-02-08T06:08:46Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2025-02-08T06:08:46Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" +time="2025-02-08T06:08:46Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" +time="2025-02-08T06:08:46Z" level=debug msg="Wait complete" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update status report state" +time="2025-02-08T06:08:46Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2025-02-08T06:08:46Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" +time="2025-02-08T06:08:46Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" +time="2025-02-08T06:08:46Z" level=debug msg="Wait complete" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update status report state" +time="2025-02-08T06:08:46Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2025-02-08T06:08:46Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" +time="2025-02-08T06:08:46Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" +time="2025-02-08T06:08:46Z" level=debug msg="Wait complete" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update status report state" +time="2025-02-08T06:08:46Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2025-02-08T06:08:46Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" +time="2025-02-08T06:08:46Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" +time="2025-02-08T06:08:46Z" level=debug msg="Wait complete" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update status report state" +time="2025-02-08T06:08:46Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2025-02-08T06:08:46Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" +time="2025-02-08T06:08:46Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" +time="2025-02-08T06:08:46Z" level=debug msg="Wait complete" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update status report state" +time="2025-02-08T06:08:46Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2025-02-08T06:08:46Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" +time="2025-02-08T06:08:46Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" +time="2025-02-08T06:08:46Z" level=debug msg="Wait complete" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update status report state" +time="2025-02-08T06:08:46Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2025-02-08T06:08:46Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" +time="2025-02-08T06:08:46Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" +time="2025-02-08T06:08:46Z" level=debug msg="Wait complete" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update status report state" +time="2025-02-08T06:08:46Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2025-02-08T06:08:46Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" +time="2025-02-08T06:08:46Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" +time="2025-02-08T06:08:46Z" level=debug msg="Wait complete" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update status report state" +time="2025-02-08T06:08:46Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2025-02-08T06:08:46Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" +time="2025-02-08T06:08:46Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" +time="2025-02-08T06:08:46Z" level=debug msg="Wait complete" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update status report state" +time="2025-02-08T06:08:46Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2025-02-08T06:08:46Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" +time="2025-02-08T06:08:46Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" +time="2025-02-08T06:08:46Z" level=debug msg="Wait complete" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update status report state" +time="2025-02-08T06:08:46Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2025-02-08T06:08:46Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" +time="2025-02-08T06:08:46Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update status report state" +time="2025-02-08T06:08:46Z" level=error msg="Failed to send status to server: fatal error: deployment was aborted" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update status report state" +time="2025-02-08T06:08:46Z" level=error msg="Failed to send status to server: fatal error: deployment was aborted" --- PASS: TestStateUpdateReportStatus (0.03s) === RUN TestStateIdle --- PASS: TestStateIdle (0.00s) === RUN TestStateAuthorize -time="2024-01-06T23:39:30Z" level=debug msg="Handle authorize state" -time="2024-01-06T23:39:30Z" level=debug msg="Handle authorize state" -time="2024-01-06T23:39:30Z" level=error msg="Authorize failed: transient error: auth fail temp" -time="2024-01-06T23:39:30Z" level=debug msg="Handle authorize state" -time="2024-01-06T23:39:30Z" level=error msg="Authorize failed: fatal error: auth error" +time="2025-02-08T06:08:46Z" level=debug msg="Handle authorize state" +time="2025-02-08T06:08:46Z" level=debug msg="Handle authorize state" +time="2025-02-08T06:08:46Z" level=error msg="Authorize failed: transient error: auth fail temp" +time="2025-02-08T06:08:46Z" level=debug msg="Handle authorize state" +time="2025-02-08T06:08:46Z" level=error msg="Authorize failed: fatal error: auth error" --- PASS: TestStateAuthorize (0.00s) === RUN TestStateUpdateCommit -time="2024-01-06T23:39:30Z" level=info msg="Running Mender client version: unknown" -time="2024-01-06T23:39:30Z" level=debug msg="Handle update commit state" -time="2024-01-06T23:39:30Z" level=debug msg="Committing new artifact name: TestName" -time="2024-01-06T23:39:30Z" level=debug msg="Committing new artifact group name: TestGroup" -time="2024-01-06T23:39:30Z" level=debug msg="Committing new artifact type-info provides" +time="2025-02-08T06:08:46Z" level=info msg="Running Mender client version: unknown" +time="2025-02-08T06:08:46Z" level=debug msg="Handle update commit state" +time="2025-02-08T06:08:46Z" level=debug msg="Committing new artifact name: TestName" +time="2025-02-08T06:08:46Z" level=debug msg="Committing new artifact group name: TestGroup" +time="2025-02-08T06:08:46Z" level=debug msg="Committing new artifact type-info provides" --- PASS: TestStateUpdateCommit (0.00s) === RUN TestStateInvetoryUpdate -time="2024-01-06T23:39:30Z" level=warning msg="Failed to refresh inventory: some err" -time="2024-01-06T23:39:30Z" level=debug msg="Inventory refresh complete" -time="2024-01-06T23:39:30Z" level=warning msg="Failed to refresh inventory: cannot determine current artifact name" +time="2025-02-08T06:08:46Z" level=warning msg="Failed to refresh inventory: some err" +time="2025-02-08T06:08:46Z" level=debug msg="Inventory refresh complete" +time="2025-02-08T06:08:46Z" level=warning msg="Failed to refresh inventory: cannot determine current artifact name" --- PASS: TestStateInvetoryUpdate (0.00s) === RUN TestStateAuthorizeWait -time="2024-01-06T23:39:30Z" level=debug msg="Handle authorize wait state" -time="2024-01-06T23:39:30Z" level=debug msg="Wait 0s before next authorization attempt" -time="2024-01-06T23:39:30Z" level=debug msg="Handle authorize wait state" -time="2024-01-06T23:39:30Z" level=debug msg="Wait 99.983719ms before next authorization attempt" -time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" -time="2024-01-06T23:39:30Z" level=debug msg="Handle authorize wait state" -time="2024-01-06T23:39:30Z" level=debug msg="Wait 99.180739ms before next authorization attempt" -time="2024-01-06T23:39:30Z" level=info msg="Wait canceled" +time="2025-02-08T06:08:46Z" level=debug msg="Handle authorize wait state" +time="2025-02-08T06:08:46Z" level=debug msg="Wait 0s before next authorization attempt" +time="2025-02-08T06:08:46Z" level=debug msg="Handle authorize wait state" +time="2025-02-08T06:08:46Z" level=debug msg="Wait 99.95072ms before next authorization attempt" +time="2025-02-08T06:08:46Z" level=debug msg="Wait complete" +time="2025-02-08T06:08:46Z" level=debug msg="Handle authorize wait state" +time="2025-02-08T06:08:46Z" level=debug msg="Wait 99.69564ms before next authorization attempt" +time="2025-02-08T06:08:46Z" level=info msg="Wait canceled" --- PASS: TestStateAuthorizeWait (0.10s) === RUN TestStateUpdateCheckWait -time="2024-01-06T23:39:30Z" level=debug msg="Handle check wait state" -time="2024-01-06T23:39:30Z" level=debug msg="Check wait state; next checks: (update: 0001-01-01 00:00:00.01 +0000 UTC) (inventory: 0001-01-01 00:00:00 +0000 UTC)" -time="2024-01-06T23:39:30Z" level=debug msg="Next check: 0001-01-01 00:00:00 +0000 UTC:inventory-update, (2024-01-06 23:39:30.842628463 +0000 UTC m=+177.763584031)" -time="2024-01-06T23:39:30Z" level=debug msg="Check wait returned: inventory-update" -time="2024-01-06T23:39:30Z" level=debug msg="Handle check wait state" -time="2024-01-06T23:39:30Z" level=debug msg="Check wait state; next checks: (update: 0001-01-01 00:00:00.01 +0000 UTC) (inventory: 2024-01-06 23:39:30.862646543 +0000 UTC m=+177.783602111)" -time="2024-01-06T23:39:30Z" level=debug msg="Next check: 0001-01-01 00:00:00.01 +0000 UTC:update-check, (2024-01-06 23:39:30.842665823 +0000 UTC m=+177.763621391)" -time="2024-01-06T23:39:30Z" level=debug msg="Check wait returned: update-check" -time="2024-01-06T23:39:30Z" level=debug msg="Handle check wait state" -time="2024-01-06T23:39:30Z" level=debug msg="Check wait state; next checks: (update: 2024-01-06 23:39:30.852680703 +0000 UTC m=+177.773636271) (inventory: 2024-01-06 23:39:30.862646543 +0000 UTC m=+177.783602111)" -time="2024-01-06T23:39:30Z" level=debug msg="Next check: 2024-01-06 23:39:30.852680703 +0000 UTC m=+177.773636271:update-check, (2024-01-06 23:39:30.842698903 +0000 UTC m=+177.763654471)" -time="2024-01-06T23:39:30Z" level=debug msg="Waiting 9.9818ms for the next state" -time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" -time="2024-01-06T23:39:30Z" level=debug msg="Handle check wait state" -time="2024-01-06T23:39:30Z" level=debug msg="Check wait state; next checks: (update: 2024-01-06 23:39:30.864469411 +0000 UTC m=+177.785424939) (inventory: 2024-01-06 23:39:30.862646543 +0000 UTC m=+177.783602111)" -time="2024-01-06T23:39:30Z" level=debug msg="Next check: 2024-01-06 23:39:30.862646543 +0000 UTC m=+177.783602111:inventory-update, (2024-01-06 23:39:30.854523411 +0000 UTC m=+177.775478979)" -time="2024-01-06T23:39:30Z" level=debug msg="Waiting 8.123132ms for the next state" -time="2024-01-06T23:39:30Z" level=debug msg="Wait complete" -time="2024-01-06T23:39:30Z" level=debug msg="Handle check wait state" -time="2024-01-06T23:39:30Z" level=debug msg="Check wait state; next checks: (update: 2024-01-06 23:39:30.954469411 +0000 UTC m=+177.875424939) (inventory: 2024-01-06 23:39:30.962646543 +0000 UTC m=+177.883602111)" -time="2024-01-06T23:39:30Z" level=debug msg="Next check: 2024-01-06 23:39:30.954469411 +0000 UTC m=+177.875424939:update-check, (2024-01-06 23:39:30.866549481 +0000 UTC m=+177.787505049)" -time="2024-01-06T23:39:30Z" level=debug msg="Waiting 87.91989ms for the next state" -time="2024-01-06T23:39:30Z" level=info msg="Wait canceled" +time="2025-02-08T06:08:46Z" level=debug msg="Handle check wait state" +time="2025-02-08T06:08:46Z" 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="2025-02-08T06:08:46Z" level=debug msg="Next check: 0001-01-01 00:00:00 +0000 UTC:inventory-update, (2025-02-08 06:08:46.431412324 +0000 UTC m=+172.580671481)" +time="2025-02-08T06:08:46Z" level=debug msg="Check wait returned: inventory-update" +time="2025-02-08T06:08:46Z" level=debug msg="Handle check wait state" +time="2025-02-08T06:08:46Z" level=debug msg="Check wait state; next checks: (update: 0001-01-01 00:00:00.01 +0000 UTC) (inventory: 2025-02-08 06:08:46.451456564 +0000 UTC m=+172.600715721)" +time="2025-02-08T06:08:46Z" level=debug msg="Next check: 0001-01-01 00:00:00.01 +0000 UTC:update-check, (2025-02-08 06:08:46.431519364 +0000 UTC m=+172.580778521)" +time="2025-02-08T06:08:46Z" level=debug msg="Check wait returned: update-check" +time="2025-02-08T06:08:46Z" level=debug msg="Handle check wait state" +time="2025-02-08T06:08:46Z" level=debug msg="Check wait state; next checks: (update: 2025-02-08 06:08:46.441554764 +0000 UTC m=+172.590813921) (inventory: 2025-02-08 06:08:46.451456564 +0000 UTC m=+172.600715721)" +time="2025-02-08T06:08:46Z" level=debug msg="Next check: 2025-02-08 06:08:46.441554764 +0000 UTC m=+172.590813921:update-check, (2025-02-08 06:08:46.431605084 +0000 UTC m=+172.580864241)" +time="2025-02-08T06:08:46Z" level=debug msg="Waiting 9.94968ms for the next state" +time="2025-02-08T06:08:46Z" level=debug msg="Wait complete" +time="2025-02-08T06:08:46Z" level=debug msg="Handle check wait state" +time="2025-02-08T06:08:46Z" level=debug msg="Check wait state; next checks: (update: 2025-02-08 06:08:46.451700204 +0000 UTC m=+172.600959401) (inventory: 2025-02-08 06:08:46.451456564 +0000 UTC m=+172.600715721)" +time="2025-02-08T06:08:46Z" level=debug msg="Next check: 2025-02-08 06:08:46.451456564 +0000 UTC m=+172.600715721:inventory-update, (2025-02-08 06:08:46.441799644 +0000 UTC m=+172.591058801)" +time="2025-02-08T06:08:46Z" level=debug msg="Waiting 9.65692ms for the next state" +time="2025-02-08T06:08:46Z" level=debug msg="Wait complete" +time="2025-02-08T06:08:46Z" level=debug msg="Handle check wait state" +time="2025-02-08T06:08:46Z" level=debug msg="Check wait state; next checks: (update: 2025-02-08 06:08:46.541700204 +0000 UTC m=+172.690959401) (inventory: 2025-02-08 06:08:46.551456564 +0000 UTC m=+172.700715721)" +time="2025-02-08T06:08:46Z" level=debug msg="Next check: 2025-02-08 06:08:46.541700204 +0000 UTC m=+172.690959401:update-check, (2025-02-08 06:08:46.451727324 +0000 UTC m=+172.600986481)" +time="2025-02-08T06:08:46Z" level=debug msg="Waiting 89.97292ms for the next state" +time="2025-02-08T06:08:46Z" level=info msg="Wait canceled" --- PASS: TestStateUpdateCheckWait (0.02s) === RUN TestStateUpdateCheck -time="2024-01-06T23:39:30Z" level=debug msg="Handle update check state" -time="2024-01-06T23:39:30Z" level=debug msg="Handle update check state" -time="2024-01-06T23:39:30Z" level=error msg="Update check failed: transient error: check failed" -time="2024-01-06T23:39:30Z" level=debug msg="Handle update check state" +time="2025-02-08T06:08:46Z" level=debug msg="Handle update check state" +time="2025-02-08T06:08:46Z" level=debug msg="Handle update check state" +time="2025-02-08T06:08:46Z" level=error msg="Update check failed: transient error: check failed" +time="2025-02-08T06:08:46Z" level=debug msg="Handle update check state" --- PASS: TestStateUpdateCheck (0.00s) === RUN TestUpdateCheckSameImage -time="2024-01-06T23:39:30Z" level=debug msg="Handle update check state" +time="2025-02-08T06:08:46Z" level=debug msg="Handle update check state" --- PASS: TestUpdateCheckSameImage (0.00s) === RUN TestStateUpdateFetch -time="2024-01-06T23:39:30Z" level=info msg="Running Mender client version: unknown" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" -time="2024-01-06T23:39:30Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" -time="2024-01-06T23:39:30Z" level=error msg="Could not write state data to persistent storage: read only" -time="2024-01-06T23:39:30Z" level=error msg="fatal error: read only" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" -time="2024-01-06T23:39:30Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update install state" -time="2024-01-06T23:39:30Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:30Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" +time="2025-02-08T06:08:46Z" level=info msg="Running Mender client version: unknown" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update fetch state" +time="2025-02-08T06:08:46Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" +time="2025-02-08T06:08:46Z" level=error msg="Could not write state data to persistent storage: read only" +time="2025-02-08T06:08:46Z" level=error msg="fatal error: read only" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update fetch state" +time="2025-02-08T06:08:46Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update install state" +time="2025-02-08T06:08:46Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:46Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" --- PASS: TestStateUpdateFetch (0.00s) === RUN TestStateUpdateFetchRetry -time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" -time="2024-01-06T23:39:30Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" -time="2024-01-06T23:39:30Z" level=debug msg="Wait 1m0s before next fetch/install attempt" -time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" -time="2024-01-06T23:39:30Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" -time="2024-01-06T23:39:30Z" level=debug msg="Wait 1m0s before next fetch/install attempt" -time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" -time="2024-01-06T23:39:30Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" -time="2024-01-06T23:39:30Z" level=debug msg="Wait 1m0s before next fetch/install attempt" -time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" -time="2024-01-06T23:39:30Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" -time="2024-01-06T23:39:30Z" level=debug msg="Wait 2m0s before next fetch/install attempt" -time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" -time="2024-01-06T23:39:30Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" -time="2024-01-06T23:39:30Z" level=debug msg="Wait 2m0s before next fetch/install attempt" -time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" -time="2024-01-06T23:39:30Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" -time="2024-01-06T23:39:30Z" level=debug msg="Wait 2m0s before next fetch/install attempt" -time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" -time="2024-01-06T23:39:30Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" -time="2024-01-06T23:39:30Z" level=debug msg="Wait 4m0s before next fetch/install attempt" -time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" -time="2024-01-06T23:39:30Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" -time="2024-01-06T23:39:30Z" level=debug msg="Wait 4m0s before next fetch/install attempt" -time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" -time="2024-01-06T23:39:30Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" -time="2024-01-06T23:39:30Z" level=debug msg="Wait 4m0s before next fetch/install attempt" -time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" -time="2024-01-06T23:39:30Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" -time="2024-01-06T23:39:30Z" level=debug msg="Wait 5m0s before next fetch/install attempt" -time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" -time="2024-01-06T23:39:30Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" -time="2024-01-06T23:39:30Z" level=debug msg="Wait 5m0s before next fetch/install attempt" -time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" -time="2024-01-06T23:39:30Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" -time="2024-01-06T23:39:30Z" level=debug msg="Wait 5m0s before next fetch/install attempt" -time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" -time="2024-01-06T23:39:30Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update fetch state" +time="2025-02-08T06:08:46Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2025-02-08T06:08:46Z" level=debug msg="Handle fetch install retry state" +time="2025-02-08T06:08:46Z" level=debug msg="Wait 1m0s before next fetch/install attempt" +time="2025-02-08T06:08:46Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update fetch state" +time="2025-02-08T06:08:46Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2025-02-08T06:08:46Z" level=debug msg="Handle fetch install retry state" +time="2025-02-08T06:08:46Z" level=debug msg="Wait 1m0s before next fetch/install attempt" +time="2025-02-08T06:08:46Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update fetch state" +time="2025-02-08T06:08:46Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2025-02-08T06:08:46Z" level=debug msg="Handle fetch install retry state" +time="2025-02-08T06:08:46Z" level=debug msg="Wait 1m0s before next fetch/install attempt" +time="2025-02-08T06:08:46Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update fetch state" +time="2025-02-08T06:08:46Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2025-02-08T06:08:46Z" level=debug msg="Handle fetch install retry state" +time="2025-02-08T06:08:46Z" level=debug msg="Wait 2m0s before next fetch/install attempt" +time="2025-02-08T06:08:46Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update fetch state" +time="2025-02-08T06:08:46Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2025-02-08T06:08:46Z" level=debug msg="Handle fetch install retry state" +time="2025-02-08T06:08:46Z" level=debug msg="Wait 2m0s before next fetch/install attempt" +time="2025-02-08T06:08:46Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update fetch state" +time="2025-02-08T06:08:46Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2025-02-08T06:08:46Z" level=debug msg="Handle fetch install retry state" +time="2025-02-08T06:08:46Z" level=debug msg="Wait 2m0s before next fetch/install attempt" +time="2025-02-08T06:08:46Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update fetch state" +time="2025-02-08T06:08:46Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2025-02-08T06:08:46Z" level=debug msg="Handle fetch install retry state" +time="2025-02-08T06:08:46Z" level=debug msg="Wait 4m0s before next fetch/install attempt" +time="2025-02-08T06:08:46Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update fetch state" +time="2025-02-08T06:08:46Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2025-02-08T06:08:46Z" level=debug msg="Handle fetch install retry state" +time="2025-02-08T06:08:46Z" level=debug msg="Wait 4m0s before next fetch/install attempt" +time="2025-02-08T06:08:46Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update fetch state" +time="2025-02-08T06:08:46Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2025-02-08T06:08:46Z" level=debug msg="Handle fetch install retry state" +time="2025-02-08T06:08:46Z" level=debug msg="Wait 4m0s before next fetch/install attempt" +time="2025-02-08T06:08:46Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update fetch state" +time="2025-02-08T06:08:46Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2025-02-08T06:08:46Z" level=debug msg="Handle fetch install retry state" +time="2025-02-08T06:08:46Z" level=debug msg="Wait 5m0s before next fetch/install attempt" +time="2025-02-08T06:08:46Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update fetch state" +time="2025-02-08T06:08:46Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2025-02-08T06:08:46Z" level=debug msg="Handle fetch install retry state" +time="2025-02-08T06:08:46Z" level=debug msg="Wait 5m0s before next fetch/install attempt" +time="2025-02-08T06:08:46Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update fetch state" +time="2025-02-08T06:08:46Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2025-02-08T06:08:46Z" level=debug msg="Handle fetch install retry state" +time="2025-02-08T06:08:46Z" level=debug msg="Wait 5m0s before next fetch/install attempt" +time="2025-02-08T06:08:46Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update fetch state" +time="2025-02-08T06:08:46Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2025-02-08T06:08:46Z" level=debug msg="Handle fetch install retry state" --- PASS: TestStateUpdateFetchRetry (0.00s) === RUN TestStateUpdateStore -time="2024-01-06T23:39:30Z" level=error msg="fatal error: test failure" -time="2024-01-06T23:39:30Z" level=info msg="Running Mender client version: unknown" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update install state" -time="2024-01-06T23:39:30Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:30Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" -time="2024-01-06T23:39:30Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update install state" ---- PASS: TestStateUpdateStore (0.04s) +time="2025-02-08T06:08:46Z" level=error msg="fatal error: test failure" +time="2025-02-08T06:08:46Z" level=info msg="Running Mender client version: unknown" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update install state" +time="2025-02-08T06:08:46Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:46Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" +time="2025-02-08T06:08:46Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update install state" +--- PASS: TestStateUpdateStore (0.01s) === RUN TestUpdateStoreDependencies -time="2024-01-06T23:39:30Z" level=info msg="Running Mender client version: unknown" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update install state" -time="2024-01-06T23:39:30Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:30Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" -time="2024-01-06T23:39:30Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" -time="2024-01-06T23:39:30Z" level=error msg="Artifact dependency \"artifact_name\" not satisfied by currently installed artifact ([OtherArtifact] != )." -time="2024-01-06T23:39:30Z" level=debug msg="Handling update install state" -time="2024-01-06T23:39:30Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:30Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" -time="2024-01-06T23:39:30Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" -time="2024-01-06T23:39:30Z" level=error msg="Artifact dependency \"artifact_name\" not satisfied by currently installed artifact ([OtherArtifact] != NonExistingArtie)." -time="2024-01-06T23:39:30Z" level=debug msg="Handling update install state" -time="2024-01-06T23:39:30Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:30Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" -time="2024-01-06T23:39:30Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" -time="2024-01-06T23:39:30Z" level=error msg="Artifact dependency \"artifact_group\" not satisfied by currently installed artifact ([TestGroup] != )." -time="2024-01-06T23:39:30Z" level=debug msg="Handling update install state" -time="2024-01-06T23:39:30Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:30Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" -time="2024-01-06T23:39:30Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" -time="2024-01-06T23:39:30Z" level=error msg="Artifact dependency \"artifact_group\" not satisfied by currently installed artifact ([TestGroup] != WrongGroup)." -time="2024-01-06T23:39:30Z" level=debug msg="Handling update install state" -time="2024-01-06T23:39:30Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:30Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" -time="2024-01-06T23:39:30Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" ---- PASS: TestUpdateStoreDependencies (0.06s) +time="2025-02-08T06:08:46Z" level=info msg="Running Mender client version: unknown" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update install state" +time="2025-02-08T06:08:46Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:46Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" +time="2025-02-08T06:08:46Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" +time="2025-02-08T06:08:46Z" level=error msg="Artifact dependency \"artifact_group\" not satisfied by currently installed artifact ([TestGroup] != )." +time="2025-02-08T06:08:46Z" level=debug msg="Handling update install state" +time="2025-02-08T06:08:46Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:46Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" +time="2025-02-08T06:08:46Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" +time="2025-02-08T06:08:46Z" level=error msg="Artifact dependency \"artifact_name\" not satisfied by currently installed artifact ([OtherArtifact] != NonExistingArtie)." +time="2025-02-08T06:08:46Z" level=debug msg="Handling update install state" +time="2025-02-08T06:08:46Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:46Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" +time="2025-02-08T06:08:46Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" +time="2025-02-08T06:08:46Z" level=error msg="Artifact dependency \"artifact_group\" not satisfied by currently installed artifact ([TestGroup] != )." +time="2025-02-08T06:08:46Z" level=debug msg="Handling update install state" +time="2025-02-08T06:08:46Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:46Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" +time="2025-02-08T06:08:46Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" +time="2025-02-08T06:08:46Z" level=error msg="Artifact dependency \"artifact_group\" not satisfied by currently installed artifact ([TestGroup] != WrongGroup)." +time="2025-02-08T06:08:46Z" level=debug msg="Handling update install state" +time="2025-02-08T06:08:46Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:46Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" +time="2025-02-08T06:08:46Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" +--- PASS: TestUpdateStoreDependencies (0.01s) === RUN TestStateWrongArtifactNameFromServer -time="2024-01-06T23:39:30Z" level=info msg="Running Mender client version: unknown" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update install state" -time="2024-01-06T23:39:30Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:30Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" -time="2024-01-06T23:39:30Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" -time="2024-01-06T23:39:30Z" level=error msg="Artifact name in artifact is not what the server claims (TestName != WrongName)." ---- PASS: TestStateWrongArtifactNameFromServer (0.03s) +time="2025-02-08T06:08:46Z" level=info msg="Running Mender client version: unknown" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update install state" +time="2025-02-08T06:08:46Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:46Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" +time="2025-02-08T06:08:46Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" +time="2025-02-08T06:08:46Z" level=error msg="Artifact name in artifact is not what the server claims (TestName != WrongName)." +--- PASS: TestStateWrongArtifactNameFromServer (0.00s) === RUN TestStateUpdateInstallRetry -time="2024-01-06T23:39:30Z" level=info msg="Running Mender client version: unknown" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update install state" -time="2024-01-06T23:39:30Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:30Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" -time="2024-01-06T23:39:30Z" level=debug msg="Wait 1m0s before next fetch/install attempt" -time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update install state" -time="2024-01-06T23:39:30Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:30Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" -time="2024-01-06T23:39:30Z" level=debug msg="Wait 1m0s before next fetch/install attempt" -time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update install state" -time="2024-01-06T23:39:30Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:30Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" -time="2024-01-06T23:39:30Z" level=debug msg="Wait 1m0s before next fetch/install attempt" -time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update install state" -time="2024-01-06T23:39:30Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:30Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" -time="2024-01-06T23:39:30Z" level=debug msg="Wait 2m0s before next fetch/install attempt" -time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update install state" -time="2024-01-06T23:39:30Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:30Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" -time="2024-01-06T23:39:30Z" level=debug msg="Wait 2m0s before next fetch/install attempt" -time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update install state" -time="2024-01-06T23:39:30Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:30Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" -time="2024-01-06T23:39:30Z" level=debug msg="Wait 2m0s before next fetch/install attempt" -time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update install state" -time="2024-01-06T23:39:30Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:30Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" -time="2024-01-06T23:39:30Z" level=debug msg="Wait 4m0s before next fetch/install attempt" -time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update install state" -time="2024-01-06T23:39:30Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:30Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" -time="2024-01-06T23:39:30Z" level=debug msg="Wait 4m0s before next fetch/install attempt" -time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update install state" -time="2024-01-06T23:39:30Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:30Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" -time="2024-01-06T23:39:30Z" level=debug msg="Wait 4m0s before next fetch/install attempt" -time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update install state" -time="2024-01-06T23:39:30Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:30Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" -time="2024-01-06T23:39:30Z" level=debug msg="Wait 5m0s before next fetch/install attempt" -time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update install state" -time="2024-01-06T23:39:30Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:30Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" -time="2024-01-06T23:39:30Z" level=debug msg="Wait 5m0s before next fetch/install attempt" -time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update install state" -time="2024-01-06T23:39:30Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:30Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" -time="2024-01-06T23:39:30Z" level=debug msg="Wait 5m0s before next fetch/install attempt" -time="2024-01-06T23:39:30Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update fetch state" -time="2024-01-06T23:39:30Z" level=debug msg="Handling update install state" -time="2024-01-06T23:39:30Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:39:30Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2024-01-06T23:39:30Z" level=debug msg="Handle fetch install retry state" +time="2025-02-08T06:08:46Z" level=info msg="Running Mender client version: unknown" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update install state" +time="2025-02-08T06:08:46Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:46Z" 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="2025-02-08T06:08:46Z" level=debug msg="Handle fetch install retry state" +time="2025-02-08T06:08:46Z" level=debug msg="Wait 1m0s before next fetch/install attempt" +time="2025-02-08T06:08:46Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update fetch state" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update install state" +time="2025-02-08T06:08:46Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:46Z" 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="2025-02-08T06:08:46Z" level=debug msg="Handle fetch install retry state" +time="2025-02-08T06:08:46Z" level=debug msg="Wait 1m0s before next fetch/install attempt" +time="2025-02-08T06:08:46Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update fetch state" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update install state" +time="2025-02-08T06:08:46Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:46Z" 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="2025-02-08T06:08:46Z" level=debug msg="Handle fetch install retry state" +time="2025-02-08T06:08:46Z" level=debug msg="Wait 1m0s before next fetch/install attempt" +time="2025-02-08T06:08:46Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update fetch state" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update install state" +time="2025-02-08T06:08:46Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:46Z" 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="2025-02-08T06:08:46Z" level=debug msg="Handle fetch install retry state" +time="2025-02-08T06:08:46Z" level=debug msg="Wait 2m0s before next fetch/install attempt" +time="2025-02-08T06:08:46Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update fetch state" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update install state" +time="2025-02-08T06:08:46Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:46Z" 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="2025-02-08T06:08:46Z" level=debug msg="Handle fetch install retry state" +time="2025-02-08T06:08:46Z" level=debug msg="Wait 2m0s before next fetch/install attempt" +time="2025-02-08T06:08:46Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update fetch state" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update install state" +time="2025-02-08T06:08:46Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:46Z" 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="2025-02-08T06:08:46Z" level=debug msg="Handle fetch install retry state" +time="2025-02-08T06:08:46Z" level=debug msg="Wait 2m0s before next fetch/install attempt" +time="2025-02-08T06:08:46Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update fetch state" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update install state" +time="2025-02-08T06:08:46Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:46Z" 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="2025-02-08T06:08:46Z" level=debug msg="Handle fetch install retry state" +time="2025-02-08T06:08:46Z" level=debug msg="Wait 4m0s before next fetch/install attempt" +time="2025-02-08T06:08:46Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update fetch state" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update install state" +time="2025-02-08T06:08:46Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:46Z" 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="2025-02-08T06:08:46Z" level=debug msg="Handle fetch install retry state" +time="2025-02-08T06:08:46Z" level=debug msg="Wait 4m0s before next fetch/install attempt" +time="2025-02-08T06:08:46Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update fetch state" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update install state" +time="2025-02-08T06:08:46Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:46Z" 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="2025-02-08T06:08:46Z" level=debug msg="Handle fetch install retry state" +time="2025-02-08T06:08:46Z" level=debug msg="Wait 4m0s before next fetch/install attempt" +time="2025-02-08T06:08:46Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update fetch state" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update install state" +time="2025-02-08T06:08:46Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:46Z" 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="2025-02-08T06:08:46Z" level=debug msg="Handle fetch install retry state" +time="2025-02-08T06:08:46Z" level=debug msg="Wait 5m0s before next fetch/install attempt" +time="2025-02-08T06:08:46Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update fetch state" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update install state" +time="2025-02-08T06:08:46Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:46Z" 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="2025-02-08T06:08:46Z" level=debug msg="Handle fetch install retry state" +time="2025-02-08T06:08:46Z" level=debug msg="Wait 5m0s before next fetch/install attempt" +time="2025-02-08T06:08:46Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update fetch state" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update install state" +time="2025-02-08T06:08:46Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:46Z" 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="2025-02-08T06:08:46Z" level=debug msg="Handle fetch install retry state" +time="2025-02-08T06:08:46Z" level=debug msg="Wait 5m0s before next fetch/install attempt" +time="2025-02-08T06:08:46Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update fetch state" +time="2025-02-08T06:08:46Z" level=debug msg="Handling update install state" +time="2025-02-08T06:08:46Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:08:46Z" 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="2025-02-08T06:08:46Z" level=debug msg="Handle fetch install retry state" --- PASS: TestStateUpdateInstallRetry (0.00s) === RUN TestStateFinal --- PASS: TestStateFinal (0.00s) === RUN TestStateData --- PASS: TestStateData (0.00s) === RUN TestStateReportError -time="2024-01-06T23:39:30Z" level=error msg="Handling report error state with status: success" -time="2024-01-06T23:39:30Z" level=error msg="Handling report error state with status: failure" -time="2024-01-06T23:39:30Z" level=error msg="Error while performing update: failure ({{{ } [] [] map[]} foobar [] 0 false})" -time="2024-01-06T23:39:30Z" level=error msg="Handling report error state with status: already-installed" +time="2025-02-08T06:08:46Z" level=error msg="Handling report error state with status: success" +time="2025-02-08T06:08:46Z" level=error msg="Handling report error state with status: failure" +time="2025-02-08T06:08:46Z" level=error msg="Error while performing update: failure ({{{ } [] [] map[]} foobar [] 0 false})" +time="2025-02-08T06:08:46Z" level=error msg="Handling report error state with status: already-installed" --- PASS: TestStateReportError (0.00s) === RUN TestMaxSendingAttempts --- PASS: TestMaxSendingAttempts (0.00s) @@ -3749,11397 +3784,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-06T23:39:31Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:31Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:31Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:31Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51926->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51926->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47056->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47056->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:31Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:31Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:31Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules100241650/device_type" - time="2024-01-06T23:39:31Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:31Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:31Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:31Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:31Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules100241650/artifact_info file." - time="2024-01-06T23:39:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules100241650/artifact_info" - time="2024-01-06T23:39:31Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:31Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules100241650/artifact_info" - time="2024-01-06T23:39:31Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules100241650/device_type" - time="2024-01-06T23:39:31Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:31Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules100241650/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules100241650/work/payloads/0000/tree" - time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules100241650/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules100241650/work/payloads/0000/tree" - time="2024-01-06T23:39:31Z" level=debug msg="Update module output: No" - time="2024-01-06T23:39:31Z" level=debug msg="Module does not support rollback" - time="2024-01-06T23:39:31Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:31Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:31Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56656->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56656->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48422->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48422->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:31Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55939->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55939->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36348->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36348->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules100241650/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules100241650/work/payloads/0000/tree" - time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules100241650/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules100241650/work/payloads/0000/tree" - time="2024-01-06T23:39:31Z" level=debug msg="Update module output: No" - time="2024-01-06T23:39:31Z" level=debug msg="Module does not need reboot" - time="2024-01-06T23:39:31Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:31Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59673->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59673->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45989->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45989->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:31Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47250->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47250->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60405->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60405->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=debug msg="Handle update commit state" - time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules100241650/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules100241650/work/payloads/0000/tree" - time="2024-01-06T23:39:31Z" level=debug msg="Committing new artifact name: artifact-name" - time="2024-01-06T23:39:31Z" level=debug msg="Committing new artifact group name: " - time="2024-01-06T23:39:31Z" level=debug msg="Committing new artifact type-info provides" - time="2024-01-06T23:39:31Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" - time="2024-01-06T23:39:31Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2024-01-06T23:39:31Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:31Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:31Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules100241650/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules100241650/work/payloads/0000/tree" - time="2024-01-06T23:39:31Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" - time="2024-01-06T23:39:31Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:31Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:31Z" level=debug msg="Returning artifact name artifact-name from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.16s) + time="2025-02-08T06:08:46Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:46Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39744->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39744->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36616->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36616->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:46Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:46Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:46Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules497099364/device_type" + time="2025-02-08T06:08:46Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:46Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:46Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:46Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:46Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules497099364/artifact_info file." + time="2025-02-08T06:08:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules497099364/artifact_info" + time="2025-02-08T06:08:46Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:46Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules497099364/artifact_info" + time="2025-02-08T06:08:46Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules497099364/device_type" + time="2025-02-08T06:08:46Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:46Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules497099364/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules497099364/work/payloads/0000/tree" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules497099364/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules497099364/work/payloads/0000/tree" + time="2025-02-08T06:08:46Z" level=debug msg="Update module output: No" + time="2025-02-08T06:08:46Z" level=debug msg="Module does not support rollback" + time="2025-02-08T06:08:46Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:46Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34047->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34047->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51532->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51532->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58012->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58012->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50331->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50331->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules497099364/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules497099364/work/payloads/0000/tree" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:08:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules497099364/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules497099364/work/payloads/0000/tree" + time="2025-02-08T06:08:46Z" level=debug msg="Update module output: No" + time="2025-02-08T06:08:46Z" level=debug msg="Module does not need reboot" + time="2025-02-08T06:08:46Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53370->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53370->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46893->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46893->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49087->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49087->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46899->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46899->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=debug msg="Handle update commit state" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2025-02-08T06:08:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules497099364/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules497099364/work/payloads/0000/tree" + time="2025-02-08T06:08:46Z" level=debug msg="Committing new artifact name: artifact-name" + time="2025-02-08T06:08:46Z" level=debug msg="Committing new artifact group name: " + time="2025-02-08T06:08:46Z" level=debug msg="Committing new artifact type-info provides" + time="2025-02-08T06:08:46Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" + time="2025-02-08T06:08:46Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2025-02-08T06:08:46Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules497099364/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules497099364/work/payloads/0000/tree" + time="2025-02-08T06:08:46Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" + time="2025-02-08T06:08:46Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:46Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:46Z" level=debug msg="Returning artifact name artifact-name from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.06s) PASS === RUN TestStateTransitionsWithUpdateModules/Normal_install,_no_rollback state_test.go:4717: Normal install, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:31Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:31Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:31Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:31Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45049->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45049->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50738->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50738->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:31Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:31Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:31Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules632641987/device_type" - time="2024-01-06T23:39:31Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:31Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:31Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:31Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:31Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules632641987/artifact_info file." - time="2024-01-06T23:39:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules632641987/artifact_info" - time="2024-01-06T23:39:31Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:31Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules632641987/artifact_info" - time="2024-01-06T23:39:31Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules632641987/device_type" - time="2024-01-06T23:39:31Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:31Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules632641987/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules632641987/work/payloads/0000/tree" - time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules632641987/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules632641987/work/payloads/0000/tree" - time="2024-01-06T23:39:31Z" level=debug msg="Update module output: No" - time="2024-01-06T23:39:31Z" level=debug msg="Module does not support rollback" - time="2024-01-06T23:39:31Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:31Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:31Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38910->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38910->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47951->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47951->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:31Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34166->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34166->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50282->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50282->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules632641987/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules632641987/work/payloads/0000/tree" - time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules632641987/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules632641987/work/payloads/0000/tree" - time="2024-01-06T23:39:31Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:31Z" level=debug msg="Module needs custom reboot" - time="2024-01-06T23:39:31Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:31Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41838->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41838->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45690->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45690->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:31Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36413->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36413->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53978->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53978->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=debug msg="Handling reboot state" - time="2024-01-06T23:39:31Z" level=info msg="Rebooting device(s)" - time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules632641987/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules632641987/work/payloads/0000/tree" - time="2024-01-06T23:39:31Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules632641987/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules632641987/work/payloads/0000/tree" - time="2024-01-06T23:39:31Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:39:31Z" level=debug msg="Handling state after reboot" - time="2024-01-06T23:39:31Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:31Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50534->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50534->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35303->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35303->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:31Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36862->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36862->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35156->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35156->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=debug msg="Handle update commit state" - time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules632641987/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules632641987/work/payloads/0000/tree" - time="2024-01-06T23:39:31Z" level=debug msg="Committing new artifact name: artifact-name" - time="2024-01-06T23:39:31Z" level=debug msg="Committing new artifact group name: " - time="2024-01-06T23:39:31Z" level=debug msg="Committing new artifact type-info provides" - time="2024-01-06T23:39:31Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" - time="2024-01-06T23:39:31Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2024-01-06T23:39:31Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:31Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:31Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules632641987/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules632641987/work/payloads/0000/tree" - time="2024-01-06T23:39:31Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" - time="2024-01-06T23:39:31Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:31Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:31Z" level=debug msg="Returning artifact name artifact-name from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.28s) + time="2025-02-08T06:08:46Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:46Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60727->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60727->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53404->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53404->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:46Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:46Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:46Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules714938141/device_type" + time="2025-02-08T06:08:46Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:46Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:46Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:46Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:46Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules714938141/artifact_info file." + time="2025-02-08T06:08:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules714938141/artifact_info" + time="2025-02-08T06:08:46Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:46Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules714938141/artifact_info" + time="2025-02-08T06:08:46Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules714938141/device_type" + time="2025-02-08T06:08:46Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:46Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules714938141/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules714938141/work/payloads/0000/tree" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules714938141/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules714938141/work/payloads/0000/tree" + time="2025-02-08T06:08:46Z" level=debug msg="Update module output: No" + time="2025-02-08T06:08:46Z" level=debug msg="Module does not support rollback" + time="2025-02-08T06:08:46Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:46Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60737->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60737->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38205->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38205->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47621->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47621->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58967->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58967->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules714938141/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules714938141/work/payloads/0000/tree" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:08:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules714938141/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules714938141/work/payloads/0000/tree" + time="2025-02-08T06:08:46Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:46Z" level=debug msg="Module needs custom reboot" + time="2025-02-08T06:08:46Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41830->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41830->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38325->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38325->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55231->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55231->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34470->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34470->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=debug msg="Handling reboot state" + time="2025-02-08T06:08:46Z" level=info msg="Rebooting device(s)" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2025-02-08T06:08:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules714938141/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules714938141/work/payloads/0000/tree" + time="2025-02-08T06:08:46Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2025-02-08T06:08:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules714938141/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules714938141/work/payloads/0000/tree" + time="2025-02-08T06:08:46Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:08:46Z" level=debug msg="Handling state after reboot" + time="2025-02-08T06:08:46Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45228->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45228->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53214->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53214->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56035->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56035->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57868->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57868->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=debug msg="Handle update commit state" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2025-02-08T06:08:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules714938141/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules714938141/work/payloads/0000/tree" + time="2025-02-08T06:08:46Z" level=debug msg="Committing new artifact name: artifact-name" + time="2025-02-08T06:08:46Z" level=debug msg="Committing new artifact group name: " + time="2025-02-08T06:08:46Z" level=debug msg="Committing new artifact type-info provides" + time="2025-02-08T06:08:46Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" + time="2025-02-08T06:08:46Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2025-02-08T06:08:46Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules714938141/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules714938141/work/payloads/0000/tree" + time="2025-02-08T06:08:46Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" + time="2025-02-08T06:08:46Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:46Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:46Z" level=debug msg="Returning artifact name artifact-name from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.07s) PASS === RUN TestStateTransitionsWithUpdateModules/Normal_install state_test.go:4717: Normal install state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:31Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:31Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:31Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:31Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58152->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58152->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42549->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42549->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:31Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:31Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:31Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules212235624/device_type" - time="2024-01-06T23:39:31Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:31Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:31Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:31Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:31Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules212235624/artifact_info file." - time="2024-01-06T23:39:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules212235624/artifact_info" - time="2024-01-06T23:39:31Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:31Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules212235624/artifact_info" - time="2024-01-06T23:39:31Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules212235624/device_type" - time="2024-01-06T23:39:31Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:31Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules212235624/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules212235624/work/payloads/0000/tree" - time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules212235624/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules212235624/work/payloads/0000/tree" - time="2024-01-06T23:39:31Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:31Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:31Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:31Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:31Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53328->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53328->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52770->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52770->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:31Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58318->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58318->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47443->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47443->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules212235624/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules212235624/work/payloads/0000/tree" - time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules212235624/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules212235624/work/payloads/0000/tree" - time="2024-01-06T23:39:31Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:31Z" level=debug msg="Module needs custom reboot" - time="2024-01-06T23:39:31Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:31Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41999->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41999->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36907->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36907->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:31Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48219->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48219->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50550->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50550->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=debug msg="Handling reboot state" - time="2024-01-06T23:39:31Z" level=info msg="Rebooting device(s)" - time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules212235624/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules212235624/work/payloads/0000/tree" - time="2024-01-06T23:39:31Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules212235624/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules212235624/work/payloads/0000/tree" - time="2024-01-06T23:39:31Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:39:31Z" level=debug msg="Handling state after reboot" - time="2024-01-06T23:39:31Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:31Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60368->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60368->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55434->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55434->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:31Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36465->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36465->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36276->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36276->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=debug msg="Handle update commit state" - time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules212235624/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules212235624/work/payloads/0000/tree" - time="2024-01-06T23:39:31Z" level=debug msg="Committing new artifact name: artifact-name" - time="2024-01-06T23:39:31Z" level=debug msg="Committing new artifact group name: " - time="2024-01-06T23:39:31Z" level=debug msg="Committing new artifact type-info provides" - time="2024-01-06T23:39:31Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" - time="2024-01-06T23:39:31Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2024-01-06T23:39:31Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:31Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:31Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules212235624/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules212235624/work/payloads/0000/tree" - time="2024-01-06T23:39:31Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" - time="2024-01-06T23:39:31Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:31Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:31Z" level=debug msg="Returning artifact name artifact-name from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.26s) + time="2025-02-08T06:08:46Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:46Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56589->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56589->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37248->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37248->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:46Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:46Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:46Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules827998922/device_type" + time="2025-02-08T06:08:46Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:46Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:46Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:46Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:46Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules827998922/artifact_info file." + time="2025-02-08T06:08:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules827998922/artifact_info" + time="2025-02-08T06:08:46Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:46Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules827998922/artifact_info" + time="2025-02-08T06:08:46Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules827998922/device_type" + time="2025-02-08T06:08:46Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:46Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules827998922/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules827998922/work/payloads/0000/tree" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules827998922/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules827998922/work/payloads/0000/tree" + time="2025-02-08T06:08:46Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:46Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:46Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:46Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32852->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32852->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57206->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57206->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34691->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34691->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46865->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46865->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules827998922/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules827998922/work/payloads/0000/tree" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:08:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules827998922/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules827998922/work/payloads/0000/tree" + time="2025-02-08T06:08:46Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:46Z" level=debug msg="Module needs custom reboot" + time="2025-02-08T06:08:46Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43601->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43601->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33512->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33512->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51878->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51878->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50137->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50137->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=debug msg="Handling reboot state" + time="2025-02-08T06:08:46Z" level=info msg="Rebooting device(s)" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2025-02-08T06:08:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules827998922/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules827998922/work/payloads/0000/tree" + time="2025-02-08T06:08:46Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2025-02-08T06:08:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules827998922/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules827998922/work/payloads/0000/tree" + time="2025-02-08T06:08:46Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:08:46Z" level=debug msg="Handling state after reboot" + time="2025-02-08T06:08:46Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60093->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60093->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43494->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43494->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57513->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57513->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37987->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37987->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=debug msg="Handle update commit state" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2025-02-08T06:08:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules827998922/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules827998922/work/payloads/0000/tree" + time="2025-02-08T06:08:46Z" level=debug msg="Committing new artifact name: artifact-name" + time="2025-02-08T06:08:46Z" level=debug msg="Committing new artifact group name: " + time="2025-02-08T06:08:46Z" level=debug msg="Committing new artifact type-info provides" + time="2025-02-08T06:08:46Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" + time="2025-02-08T06:08:46Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2025-02-08T06:08:46Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules827998922/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules827998922/work/payloads/0000/tree" + time="2025-02-08T06:08:46Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" + time="2025-02-08T06:08:46Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:46Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:46Z" level=debug msg="Returning artifact name artifact-name from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.07s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_Download_state,_no_rollback state_test.go:4717: Error in Download state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:31Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:31Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:31Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:31Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35077->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35077->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46639->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46639->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:31Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:31Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:31Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules189089905/device_type" - time="2024-01-06T23:39:31Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:31Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:31Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:31Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:31Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules189089905/artifact_info file." - time="2024-01-06T23:39:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules189089905/artifact_info" - time="2024-01-06T23:39:31Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:31Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules189089905/artifact_info" - time="2024-01-06T23:39:31Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules189089905/device_type" - time="2024-01-06T23:39:31Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:31Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:31Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules189089905/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules189089905/work/payloads/0000/tree" - time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:31Z" level=error msg="Artifact install failed: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:31Z" level=info msg="State transition: update-store [Download_Enter] -> cleanup [Error]" - time="2024-01-06T23:39:31Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:31Z" level=debug msg="Executing script: Download_Error_00" - time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:31Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:31Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules189089905/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules189089905/work/payloads/0000/tree" - time="2024-01-06T23:39:31Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:31Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:31Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:31Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:31Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules189089905/artifact_info file." - time="2024-01-06T23:39:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules189089905/artifact_info" - time="2024-01-06T23:39:31Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:31Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.08s) + time="2025-02-08T06:08:46Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:46Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53262->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53262->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47628->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47628->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:46Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:46Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:46Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules864795259/device_type" + time="2025-02-08T06:08:46Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:46Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:46Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:46Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:46Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules864795259/artifact_info file." + time="2025-02-08T06:08:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules864795259/artifact_info" + time="2025-02-08T06:08:46Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:46Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules864795259/artifact_info" + time="2025-02-08T06:08:46Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules864795259/device_type" + time="2025-02-08T06:08:46Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:46Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules864795259/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules864795259/work/payloads/0000/tree" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:46Z" level=error msg="Artifact install failed: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:46Z" level=info msg="State transition: update-store [Download_Enter] -> cleanup [Error]" + time="2025-02-08T06:08:46Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Executing script: Download_Error_00" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules864795259/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules864795259/work/payloads/0000/tree" + time="2025-02-08T06:08:46Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:46Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:46Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:46Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules864795259/artifact_info file." + time="2025-02-08T06:08:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules864795259/artifact_info" + time="2025-02-08T06:08:46Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:46Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.03s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_Download_state,_no_rollback state_test.go:4717: Killed in Download state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:31Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:31Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:31Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:31Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48215->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48215->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32850->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32850->[::1]:53: read: connection refused" - time="2024-01-06T23:39:31Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:31Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:31Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:31Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules411980462/device_type" - time="2024-01-06T23:39:31Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:31Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:31Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:32Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:32Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules411980462/artifact_info file." - time="2024-01-06T23:39:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules411980462/artifact_info" - time="2024-01-06T23:39:32Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:32Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules411980462/artifact_info" - time="2024-01-06T23:39:32Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules411980462/device_type" - time="2024-01-06T23:39:32Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:32Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules411980462/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules411980462/work/payloads/0000/tree" + time="2025-02-08T06:08:46Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:46Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35686->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35686->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54769->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54769->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:46Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:46Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:46Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules306625152/device_type" + time="2025-02-08T06:08:46Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:46Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:46Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:46Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:46Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules306625152/artifact_info file." + time="2025-02-08T06:08:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules306625152/artifact_info" + time="2025-02-08T06:08:46Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:46Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules306625152/artifact_info" + time="2025-02-08T06:08:46Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules306625152/device_type" + time="2025-02-08T06:08:46Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:46Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules306625152/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules306625152/work/payloads/0000/tree" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 2 (*app.updateCleanupState) - time="2024-01-06T23:39:32Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:32Z" level=info msg="Handling loaded state: update-store" - time="2024-01-06T23:39:32Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:32Z" level=error msg="Mender shut down in state: update-store" - time="2024-01-06T23:39:32Z" level=info msg="State transition: init [none] -> cleanup [Error]" - time="2024-01-06T23:39:32Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:32Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules411980462/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules411980462/work/payloads/0000/tree" - time="2024-01-06T23:39:32Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:32Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:32Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:32Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:32Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules411980462/artifact_info file." - time="2024-01-06T23:39:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules411980462/artifact_info" - time="2024-01-06T23:39:32Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:32Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.00s) + time="2025-02-08T06:08:46Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:46Z" level=info msg="Handling loaded state: update-store" + time="2025-02-08T06:08:46Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:46Z" level=error msg="Mender shut down in state: update-store" + time="2025-02-08T06:08:46Z" level=info msg="State transition: init [none] -> cleanup [Error]" + time="2025-02-08T06:08:46Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules306625152/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules306625152/work/payloads/0000/tree" + time="2025-02-08T06:08:46Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:46Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:46Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:46Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules306625152/artifact_info file." + time="2025-02-08T06:08:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules306625152/artifact_info" + time="2025-02-08T06:08:46Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:46Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.01s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_state,_no_rollback state_test.go:4717: Error in ArtifactInstall state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:32Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:32Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:32Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:32Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52576->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52576->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52263->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52263->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:32Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:32Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:32Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules289529903/device_type" - time="2024-01-06T23:39:32Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:32Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:32Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:32Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:32Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules289529903/artifact_info file." - time="2024-01-06T23:39:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules289529903/artifact_info" - time="2024-01-06T23:39:32Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:32Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules289529903/artifact_info" - time="2024-01-06T23:39:32Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules289529903/device_type" - time="2024-01-06T23:39:32Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:32Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules289529903/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules289529903/work/payloads/0000/tree" - time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules289529903/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules289529903/work/payloads/0000/tree" - time="2024-01-06T23:39:32Z" level=debug msg="Update module output: No" - time="2024-01-06T23:39:32Z" level=debug msg="Module does not support rollback" - time="2024-01-06T23:39:32Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:32Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:32Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51970->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51970->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58535->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58535->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:32Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60744->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60744->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41483->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41483->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules289529903/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules289529903/work/payloads/0000/tree" - time="2024-01-06T23:39:32Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:32Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:32Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" - time="2024-01-06T23:39:32Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:32Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:32Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60017->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60017->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52261->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52261->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:32Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59787->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59787->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54031->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54031->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules289529903/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules289529903/work/payloads/0000/tree" - time="2024-01-06T23:39:32Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:32Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:32Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules289529903/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules289529903/work/payloads/0000/tree" - time="2024-01-06T23:39:32Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:32Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:32Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:32Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:32Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.19s) + time="2025-02-08T06:08:46Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:46Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58046->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58046->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58070->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58070->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:46Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:46Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:46Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules495063913/device_type" + time="2025-02-08T06:08:46Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:46Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:46Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:46Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:46Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules495063913/artifact_info file." + time="2025-02-08T06:08:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules495063913/artifact_info" + time="2025-02-08T06:08:46Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:46Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules495063913/artifact_info" + time="2025-02-08T06:08:46Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules495063913/device_type" + time="2025-02-08T06:08:46Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:46Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules495063913/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules495063913/work/payloads/0000/tree" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules495063913/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules495063913/work/payloads/0000/tree" + time="2025-02-08T06:08:46Z" level=debug msg="Update module output: No" + time="2025-02-08T06:08:46Z" level=debug msg="Module does not support rollback" + time="2025-02-08T06:08:46Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:46Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41367->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41367->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48922->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48922->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39972->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39972->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43912->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43912->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules495063913/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules495063913/work/payloads/0000/tree" + time="2025-02-08T06:08:46Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:46Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:46Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" + time="2025-02-08T06:08:46Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:46Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44317->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44317->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36294->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36294->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44092->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44092->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52172->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52172->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules495063913/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules495063913/work/payloads/0000/tree" + time="2025-02-08T06:08:46Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules495063913/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules495063913/work/payloads/0000/tree" + time="2025-02-08T06:08:46Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:46Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:46Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:46Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.06s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_state,_no_rollback state_test.go:4717: Killed in ArtifactInstall state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:32Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:32Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:32Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:32Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47705->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47705->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55911->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55911->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:32Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:32Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:32Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules742681668/device_type" - time="2024-01-06T23:39:32Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:32Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:32Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:32Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:32Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules742681668/artifact_info file." - time="2024-01-06T23:39:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules742681668/artifact_info" - time="2024-01-06T23:39:32Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:32Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules742681668/artifact_info" - time="2024-01-06T23:39:32Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules742681668/device_type" - time="2024-01-06T23:39:32Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:32Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules742681668/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules742681668/work/payloads/0000/tree" - time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules742681668/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules742681668/work/payloads/0000/tree" - time="2024-01-06T23:39:32Z" level=debug msg="Update module output: No" - time="2024-01-06T23:39:32Z" level=debug msg="Module does not support rollback" - time="2024-01-06T23:39:32Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:32Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:32Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44675->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44675->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55645->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55645->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:32Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38837->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38837->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53979->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53979->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules742681668/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules742681668/work/payloads/0000/tree" + time="2025-02-08T06:08:46Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:46Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47853->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47853->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58742->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58742->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:46Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:46Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:46Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules288129286/device_type" + time="2025-02-08T06:08:46Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:46Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:46Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:46Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:46Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules288129286/artifact_info file." + time="2025-02-08T06:08:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules288129286/artifact_info" + time="2025-02-08T06:08:46Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:46Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules288129286/artifact_info" + time="2025-02-08T06:08:46Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules288129286/device_type" + time="2025-02-08T06:08:46Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:46Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:46Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules288129286/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules288129286/work/payloads/0000/tree" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules288129286/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules288129286/work/payloads/0000/tree" + time="2025-02-08T06:08:46Z" level=debug msg="Update module output: No" + time="2025-02-08T06:08:46Z" level=debug msg="Module does not support rollback" + time="2025-02-08T06:08:46Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:46Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50696->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50696->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48359->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48359->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33747->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33747->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35460->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35460->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules288129286/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules288129286/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 4 (*app.updateErrorState) - time="2024-01-06T23:39:32Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:32Z" level=info msg="Handling loaded state: update-install" - time="2024-01-06T23:39:32Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:32Z" level=error msg="Mender shut down in state: update-install" - time="2024-01-06T23:39:32Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" - time="2024-01-06T23:39:32Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:32Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:32Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48345->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48345->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43658->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43658->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules742681668/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules742681668/work/payloads/0000/tree" - time="2024-01-06T23:39:32Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:32Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:32Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules742681668/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules742681668/work/payloads/0000/tree" - time="2024-01-06T23:39:32Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:32Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:32Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:32Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:32Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.04s) + time="2025-02-08T06:08:46Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:46Z" level=info msg="Handling loaded state: update-install" + time="2025-02-08T06:08:46Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:46Z" level=error msg="Mender shut down in state: update-install" + time="2025-02-08T06:08:46Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" + time="2025-02-08T06:08:46Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:46Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:46Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37015->[::1]:53: read: connection refused" + time="2025-02-08T06:08:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37015->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:45088->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:45088->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules288129286/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules288129286/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules288129286/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules288129286/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:47Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:47Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:47Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.02s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall state_test.go:4717: Error in ArtifactInstall state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:32Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:32Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:32Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:32Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54947->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54947->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45600->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45600->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:32Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:32Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:32Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules638127741/device_type" - time="2024-01-06T23:39:32Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:32Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:32Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:32Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:32Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules638127741/artifact_info file." - time="2024-01-06T23:39:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules638127741/artifact_info" - time="2024-01-06T23:39:32Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:32Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules638127741/artifact_info" - time="2024-01-06T23:39:32Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules638127741/device_type" - time="2024-01-06T23:39:32Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:32Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules638127741/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules638127741/work/payloads/0000/tree" - time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules638127741/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules638127741/work/payloads/0000/tree" - time="2024-01-06T23:39:32Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:32Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:32Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:32Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:32Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54211->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54211->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42639->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42639->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:32Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53617->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53617->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56271->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56271->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules638127741/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules638127741/work/payloads/0000/tree" - time="2024-01-06T23:39:32Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:32Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:32Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:32Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:32Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46624->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46624->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59029->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59029->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:32Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52098->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52098->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46136->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46136->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules638127741/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules638127741/work/payloads/0000/tree" - time="2024-01-06T23:39:32Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:32Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33497->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33497->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47851->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47851->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:32Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54835->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54835->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36515->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36515->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules638127741/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules638127741/work/payloads/0000/tree" - time="2024-01-06T23:39:32Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:32Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:32Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules638127741/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules638127741/work/payloads/0000/tree" - time="2024-01-06T23:39:32Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:32Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:32Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:32Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:32Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules638127741/artifact_info file." - time="2024-01-06T23:39:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules638127741/artifact_info" - time="2024-01-06T23:39:32Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:32Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.26s) + time="2025-02-08T06:08:47Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:43686->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43686->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59052->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59052->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:47Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:47Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules920224103/device_type" + time="2025-02-08T06:08:47Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:47Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:47Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:47Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:47Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules920224103/artifact_info file." + time="2025-02-08T06:08:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules920224103/artifact_info" + time="2025-02-08T06:08:47Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:47Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules920224103/artifact_info" + time="2025-02-08T06:08:47Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules920224103/device_type" + time="2025-02-08T06:08:47Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:47Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules920224103/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules920224103/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules920224103/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules920224103/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:47Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:57487->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:57487->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42969->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42969->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:43617->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43617->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52263->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52263->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules920224103/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules920224103/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:47Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:47Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08: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]:43123->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43123->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:56019->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:56019->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08: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]:52634->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52634->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33133->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33133->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules920224103/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules920224103/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08: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]:51029->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51029->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52894->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52894->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:44272->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44272->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:57393->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:57393->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules920224103/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules920224103/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules920224103/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules920224103/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:47Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:47Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:47Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules920224103/artifact_info file." + time="2025-02-08T06:08:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules920224103/artifact_info" + time="2025-02-08T06:08:47Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:47Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.07s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall state_test.go:4717: Killed in ArtifactInstall state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:32Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:32Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:32Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:32Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35096->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35096->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41664->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41664->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:32Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:32Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:32Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules453629866/device_type" - time="2024-01-06T23:39:32Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:32Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:32Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:32Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:32Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules453629866/artifact_info file." - time="2024-01-06T23:39:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules453629866/artifact_info" - time="2024-01-06T23:39:32Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:32Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules453629866/artifact_info" - time="2024-01-06T23:39:32Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules453629866/device_type" - time="2024-01-06T23:39:32Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:32Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:32Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules453629866/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules453629866/work/payloads/0000/tree" - time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules453629866/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules453629866/work/payloads/0000/tree" - time="2024-01-06T23:39:32Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:32Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:32Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:32Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:32Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46953->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46953->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53622->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53622->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:32Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53479->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53479->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39328->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39328->[::1]:53: read: connection refused" - time="2024-01-06T23:39:32Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules453629866/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules453629866/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:41350->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41350->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33102->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33102->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:47Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:47Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules821920220/device_type" + time="2025-02-08T06:08:47Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:47Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:47Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:47Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:47Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules821920220/artifact_info file." + time="2025-02-08T06:08:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules821920220/artifact_info" + time="2025-02-08T06:08:47Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:47Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules821920220/artifact_info" + time="2025-02-08T06:08:47Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules821920220/device_type" + time="2025-02-08T06:08:47Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:47Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules821920220/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules821920220/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules821920220/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules821920220/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:47Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:51361->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51361->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44373->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44373->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:56389->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:56389->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59670->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59670->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules821920220/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules821920220/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 4 (*app.updateRollbackState) - time="2024-01-06T23:39:33Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:33Z" level=info msg="Handling loaded state: update-install" - time="2024-01-06T23:39:33Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:33Z" level=error msg="Mender shut down in state: update-install" - time="2024-01-06T23:39:33Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:33Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53723->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53723->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54470->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54470->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules453629866/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules453629866/work/payloads/0000/tree" - time="2024-01-06T23:39:33Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57010->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57010->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46039->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46039->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51234->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51234->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47967->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47967->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules453629866/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules453629866/work/payloads/0000/tree" - time="2024-01-06T23:39:33Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:33Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules453629866/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules453629866/work/payloads/0000/tree" - time="2024-01-06T23:39:33Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:33Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:33Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:33Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:33Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules453629866/artifact_info file." - time="2024-01-06T23:39:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules453629866/artifact_info" - time="2024-01-06T23:39:33Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:33Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.05s) + time="2025-02-08T06:08:47Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:47Z" level=info msg="Handling loaded state: update-install" + time="2025-02-08T06:08:47Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:47Z" level=error msg="Mender shut down in state: update-install" + time="2025-02-08T06:08:47Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:47Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08: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]:37927->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37927->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54243->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54243->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules821920220/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules821920220/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08: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]:35216->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35216->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40215->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40215->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:34611->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34611->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:32853->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:32853->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules821920220/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules821920220/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules821920220/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules821920220/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:47Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:47Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:47Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules821920220/artifact_info file." + time="2025-02-08T06:08:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules821920220/artifact_info" + time="2025-02-08T06:08:47Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:47Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.03s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot state_test.go:4717: Error in ArtifactReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:33Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:33Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:33Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:33Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49346->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49346->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53043->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53043->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:33Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:33Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:33Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules415922907/device_type" - time="2024-01-06T23:39:33Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:33Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:33Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:33Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:33Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules415922907/artifact_info file." - time="2024-01-06T23:39:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules415922907/artifact_info" - time="2024-01-06T23:39:33Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:33Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules415922907/artifact_info" - time="2024-01-06T23:39:33Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules415922907/device_type" - time="2024-01-06T23:39:33Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:33Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules415922907/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules415922907/work/payloads/0000/tree" - time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules415922907/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules415922907/work/payloads/0000/tree" - time="2024-01-06T23:39:33Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:33Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:33Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:33Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:33Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50909->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50909->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50727->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50727->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34938->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34938->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45577->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45577->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules415922907/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules415922907/work/payloads/0000/tree" - time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules415922907/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules415922907/work/payloads/0000/tree" - time="2024-01-06T23:39:33Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:33Z" level=debug msg="Module needs custom reboot" - time="2024-01-06T23:39:33Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34104->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34104->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40171->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40171->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36275->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36275->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36281->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36281->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=debug msg="Handling reboot state" - time="2024-01-06T23:39:33Z" level=info msg="Rebooting device(s)" - time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules415922907/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules415922907/work/payloads/0000/tree" - time="2024-01-06T23:39:33Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:33Z" level=error msg="Error rebooting device: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:33Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:33Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51048->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51048->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47792->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47792->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37261->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37261->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59431->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59431->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules415922907/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules415922907/work/payloads/0000/tree" - time="2024-01-06T23:39:33Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-06T23:39:33Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38976->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38976->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57529->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57529->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41284->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41284->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60912->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60912->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules415922907/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules415922907/work/payloads/0000/tree" - time="2024-01-06T23:39:33Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules415922907/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules415922907/work/payloads/0000/tree" - time="2024-01-06T23:39:33Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:33Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-06T23:39:33Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54028->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54028->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43071->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43071->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44564->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44564->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58776->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58776->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules415922907/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules415922907/work/payloads/0000/tree" - time="2024-01-06T23:39:33Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:33Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules415922907/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules415922907/work/payloads/0000/tree" - time="2024-01-06T23:39:33Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:33Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:33Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:33Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:33Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules415922907/artifact_info file." - time="2024-01-06T23:39:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules415922907/artifact_info" - time="2024-01-06T23:39:33Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:33Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.24s) + time="2025-02-08T06:08:47Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:45685->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:45685->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60744->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60744->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:47Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:47Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules904218101/device_type" + time="2025-02-08T06:08:47Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:47Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:47Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:47Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:47Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules904218101/artifact_info file." + time="2025-02-08T06:08:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules904218101/artifact_info" + time="2025-02-08T06:08:47Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:47Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules904218101/artifact_info" + time="2025-02-08T06:08:47Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules904218101/device_type" + time="2025-02-08T06:08:47Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:47Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules904218101/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules904218101/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules904218101/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules904218101/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:47Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:43545->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43545->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52067->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52067->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:52506->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52506->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42529->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42529->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules904218101/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules904218101/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules904218101/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules904218101/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:47Z" level=debug msg="Module needs custom reboot" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08: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]:33791->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33791->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55489->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55489->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08: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]:49434->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:49434->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41533->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41533->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="Handling reboot state" + time="2025-02-08T06:08:47Z" level=info msg="Rebooting device(s)" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules904218101/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules904218101/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:47Z" level=error msg="Error rebooting device: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:47Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:47Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08: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]:39678->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39678->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54970->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54970->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08: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]:42541->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42541->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60417->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60417->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules904218101/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules904218101/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=debug msg="Will try to rollback reboot the device" + time="2025-02-08T06:08:47Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08: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]:38468->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38468->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54889->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54889->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:37969->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37969->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:53762->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:53762->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules904218101/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules904218101/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules904218101/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules904218101/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:47Z" level=debug msg="Handling state after rollback reboot" + time="2025-02-08T06:08:47Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:46511->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:46511->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:50010->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:50010->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:39020->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39020->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33795->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33795->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules904218101/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules904218101/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules904218101/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules904218101/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:47Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:47Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:47Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules904218101/artifact_info file." + time="2025-02-08T06:08:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules904218101/artifact_info" + time="2025-02-08T06:08:47Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:47Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.10s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot state_test.go:4717: Killed in ArtifactReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:33Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:33Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:33Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:33Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36377->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36377->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37251->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37251->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:33Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:33Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:33Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules021417568/device_type" - time="2024-01-06T23:39:33Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:33Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:33Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:33Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:33Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules021417568/artifact_info file." - time="2024-01-06T23:39:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules021417568/artifact_info" - time="2024-01-06T23:39:33Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:33Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules021417568/artifact_info" - time="2024-01-06T23:39:33Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules021417568/device_type" - time="2024-01-06T23:39:33Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:33Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules021417568/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules021417568/work/payloads/0000/tree" - time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules021417568/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules021417568/work/payloads/0000/tree" - time="2024-01-06T23:39:33Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:33Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:33Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:33Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:33Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56301->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56301->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60512->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60512->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59125->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59125->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44040->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44040->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules021417568/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules021417568/work/payloads/0000/tree" - time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules021417568/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules021417568/work/payloads/0000/tree" - time="2024-01-06T23:39:33Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:33Z" level=debug msg="Module needs custom reboot" - time="2024-01-06T23:39:33Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38452->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38452->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56829->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56829->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33385->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33385->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44910->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44910->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=debug msg="Handling reboot state" - time="2024-01-06T23:39:33Z" level=info msg="Rebooting device(s)" - time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules021417568/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules021417568/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:44721->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44721->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33337->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33337->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:47Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:47Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules087267970/device_type" + time="2025-02-08T06:08:47Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:47Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:47Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:47Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:47Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules087267970/artifact_info file." + time="2025-02-08T06:08:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules087267970/artifact_info" + time="2025-02-08T06:08:47Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:47Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules087267970/artifact_info" + time="2025-02-08T06:08:47Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules087267970/device_type" + time="2025-02-08T06:08:47Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:47Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules087267970/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules087267970/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules087267970/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules087267970/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:47Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:58296->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58296->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33778->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33778->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:53375->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:53375->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:57851->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:57851->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules087267970/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules087267970/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules087267970/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules087267970/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:47Z" level=debug msg="Module needs custom reboot" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08: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]:40327->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40327->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:32825->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:32825->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08: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]:40582->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40582->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41990->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41990->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="Handling reboot state" + time="2025-02-08T06:08:47Z" level=info msg="Rebooting device(s)" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules087267970/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules087267970/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 5 (*app.updateVerifyRebootState) - time="2024-01-06T23:39:33Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:33Z" level=info msg="Handling loaded state: reboot" - time="2024-01-06T23:39:33Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:33Z" level=info msg="State transition: init [none] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules021417568/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules021417568/work/payloads/0000/tree" - time="2024-01-06T23:39:33Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:39:33Z" level=debug msg="Handling state after reboot" - time="2024-01-06T23:39:33Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33448->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33448->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55500->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55500->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58252->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58252->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57275->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57275->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=debug msg="Handle update commit state" - time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules021417568/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules021417568/work/payloads/0000/tree" - time="2024-01-06T23:39:33Z" level=debug msg="Committing new artifact name: artifact-name" - time="2024-01-06T23:39:33Z" level=debug msg="Committing new artifact group name: " - time="2024-01-06T23:39:33Z" level=debug msg="Committing new artifact type-info provides" - time="2024-01-06T23:39:33Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" - time="2024-01-06T23:39:33Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2024-01-06T23:39:33Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:33Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules021417568/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules021417568/work/payloads/0000/tree" - time="2024-01-06T23:39:33Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" - time="2024-01-06T23:39:33Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:33Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:33Z" level=debug msg="Returning artifact name artifact-name from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.08s) + time="2025-02-08T06:08:47Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:47Z" level=info msg="Handling loaded state: reboot" + time="2025-02-08T06:08:47Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:47Z" level=info msg="State transition: init [none] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules087267970/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules087267970/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:08:47Z" level=debug msg="Handling state after reboot" + time="2025-02-08T06:08:47Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08: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]:54198->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54198->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33938->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33938->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08: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]:59766->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59766->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:57118->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:57118->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="Handle update commit state" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules087267970/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules087267970/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=debug msg="Committing new artifact name: artifact-name" + time="2025-02-08T06:08:47Z" level=debug msg="Committing new artifact group name: " + time="2025-02-08T06:08:47Z" level=debug msg="Committing new artifact type-info provides" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules087267970/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules087267970/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" + time="2025-02-08T06:08:47Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:47Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:47Z" level=debug msg="Returning artifact name artifact-name from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.03s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactVerifyReboot state_test.go:4717: Error in ArtifactVerifyReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:33Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:33Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:33Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:33Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52008->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52008->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41348->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41348->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:33Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:33Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:33Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules611215049/device_type" - time="2024-01-06T23:39:33Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:33Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:33Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:33Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:33Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules611215049/artifact_info file." - time="2024-01-06T23:39:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules611215049/artifact_info" - time="2024-01-06T23:39:33Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:33Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules611215049/artifact_info" - time="2024-01-06T23:39:33Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules611215049/device_type" - time="2024-01-06T23:39:33Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:33Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:33Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules611215049/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules611215049/work/payloads/0000/tree" - time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules611215049/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules611215049/work/payloads/0000/tree" - time="2024-01-06T23:39:33Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:33Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:33Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:33Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:33Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36760->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36760->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50462->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50462->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48961->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48961->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43893->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43893->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules611215049/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules611215049/work/payloads/0000/tree" - time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules611215049/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules611215049/work/payloads/0000/tree" - time="2024-01-06T23:39:33Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:33Z" level=debug msg="Module needs custom reboot" - time="2024-01-06T23:39:33Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42208->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42208->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46577->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46577->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39258->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39258->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56241->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56241->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=debug msg="Handling reboot state" - time="2024-01-06T23:39:33Z" level=info msg="Rebooting device(s)" - time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules611215049/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules611215049/work/payloads/0000/tree" - time="2024-01-06T23:39:33Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules611215049/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules611215049/work/payloads/0000/tree" - time="2024-01-06T23:39:33Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:33Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:33Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:33Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54718->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54718->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47447->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47447->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60793->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60793->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53048->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53048->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules611215049/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules611215049/work/payloads/0000/tree" - time="2024-01-06T23:39:33Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-06T23:39:33Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40427->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40427->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42777->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42777->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57469->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57469->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51752->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51752->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules611215049/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules611215049/work/payloads/0000/tree" - time="2024-01-06T23:39:33Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:33Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules611215049/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules611215049/work/payloads/0000/tree" - time="2024-01-06T23:39:33Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:33Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-06T23:39:33Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:33Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59972->[::1]:53: read: connection refused" - time="2024-01-06T23:39:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59972->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45575->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45575->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59790->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59790->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48246->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48246->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules611215049/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules611215049/work/payloads/0000/tree" - time="2024-01-06T23:39:34Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules611215049/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules611215049/work/payloads/0000/tree" - time="2024-01-06T23:39:34Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:34Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:34Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:34Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules611215049/artifact_info file." - time="2024-01-06T23:39:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules611215049/artifact_info" - time="2024-01-06T23:39:34Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:34Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.29s) + time="2025-02-08T06:08:47Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:34305->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34305->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48138->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48138->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:47Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:47Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules552372883/device_type" + time="2025-02-08T06:08:47Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:47Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:47Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:47Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:47Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules552372883/artifact_info file." + time="2025-02-08T06:08:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules552372883/artifact_info" + time="2025-02-08T06:08:47Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:47Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules552372883/artifact_info" + time="2025-02-08T06:08:47Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules552372883/device_type" + time="2025-02-08T06:08:47Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:47Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules552372883/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules552372883/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules552372883/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules552372883/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:47Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:42864->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42864->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60680->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60680->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:35391->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35391->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36014->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36014->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules552372883/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules552372883/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules552372883/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules552372883/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:47Z" level=debug msg="Module needs custom reboot" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08: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]:34165->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34165->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60143->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60143->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08: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]:50142->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:50142->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38301->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38301->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="Handling reboot state" + time="2025-02-08T06:08:47Z" level=info msg="Rebooting device(s)" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules552372883/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules552372883/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules552372883/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules552372883/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:47Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:47Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:47Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08: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]:37481->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37481->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48384->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48384->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08: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]:55585->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55585->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42082->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42082->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules552372883/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules552372883/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=debug msg="Will try to rollback reboot the device" + time="2025-02-08T06:08:47Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08: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]:57472->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:57472->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59428->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59428->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:46081->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:46081->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34553->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34553->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules552372883/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules552372883/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules552372883/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules552372883/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:47Z" level=debug msg="Handling state after rollback reboot" + time="2025-02-08T06:08:47Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:46855->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:46855->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:50096->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:50096->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:53601->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:53601->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35284->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35284->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules552372883/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules552372883/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules552372883/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules552372883/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:47Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:47Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:47Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules552372883/artifact_info file." + time="2025-02-08T06:08:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules552372883/artifact_info" + time="2025-02-08T06:08:47Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:47Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.10s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactVerifyReboot state_test.go:4717: Killed in ArtifactVerifyReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:34Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:34Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33027->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33027->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60386->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60386->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:34Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:34Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:34Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules207856614/device_type" - time="2024-01-06T23:39:34Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:34Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:34Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:34Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:34Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules207856614/artifact_info file." - time="2024-01-06T23:39:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules207856614/artifact_info" - time="2024-01-06T23:39:34Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:34Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules207856614/artifact_info" - time="2024-01-06T23:39:34Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules207856614/device_type" - time="2024-01-06T23:39:34Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:34Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207856614/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules207856614/work/payloads/0000/tree" - time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207856614/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules207856614/work/payloads/0000/tree" - time="2024-01-06T23:39:34Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:34Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:34Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:34Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56344->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56344->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59488->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59488->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48948->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48948->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39208->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39208->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207856614/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules207856614/work/payloads/0000/tree" - time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207856614/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules207856614/work/payloads/0000/tree" - time="2024-01-06T23:39:34Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:34Z" level=debug msg="Module needs custom reboot" - time="2024-01-06T23:39:34Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37102->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37102->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49382->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49382->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53299->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53299->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59777->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59777->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=debug msg="Handling reboot state" - time="2024-01-06T23:39:34Z" level=info msg="Rebooting device(s)" - time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207856614/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules207856614/work/payloads/0000/tree" - time="2024-01-06T23:39:34Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207856614/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules207856614/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:54976->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54976->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39414->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39414->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:47Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:47Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules969825400/device_type" + time="2025-02-08T06:08:47Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:47Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:47Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:47Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:47Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules969825400/artifact_info file." + time="2025-02-08T06:08:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules969825400/artifact_info" + time="2025-02-08T06:08:47Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:47Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules969825400/artifact_info" + time="2025-02-08T06:08:47Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules969825400/device_type" + time="2025-02-08T06:08:47Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:47Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules969825400/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules969825400/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules969825400/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules969825400/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:47Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:58701->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58701->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:53351->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:53351->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:34717->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34717->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:50401->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:50401->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules969825400/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules969825400/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules969825400/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules969825400/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:47Z" level=debug msg="Module needs custom reboot" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08: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]:52710->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52710->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51322->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51322->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08: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]:40123->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40123->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48089->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48089->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="Handling reboot state" + time="2025-02-08T06:08:47Z" level=info msg="Rebooting device(s)" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules969825400/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules969825400/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules969825400/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules969825400/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 6 (*app.updateRollbackState) - time="2024-01-06T23:39:34Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:34Z" level=info msg="Handling loaded state: after-reboot" - time="2024-01-06T23:39:34Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:34Z" level=error msg="Mender shut down in state: after-reboot" - time="2024-01-06T23:39:34Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:34Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47811->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47811->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34388->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34388->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207856614/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules207856614/work/payloads/0000/tree" - time="2024-01-06T23:39:34Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-06T23:39:34Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34359->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34359->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50106->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50106->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38602->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38602->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51710->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51710->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207856614/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules207856614/work/payloads/0000/tree" - time="2024-01-06T23:39:34Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207856614/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules207856614/work/payloads/0000/tree" - time="2024-01-06T23:39:34Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:34Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-06T23:39:34Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35562->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35562->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41570->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41570->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50693->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50693->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38814->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38814->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207856614/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules207856614/work/payloads/0000/tree" - time="2024-01-06T23:39:34Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207856614/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules207856614/work/payloads/0000/tree" - time="2024-01-06T23:39:34Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:34Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:34Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:34Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules207856614/artifact_info file." - time="2024-01-06T23:39:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules207856614/artifact_info" - time="2024-01-06T23:39:34Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:34Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.11s) + time="2025-02-08T06:08:47Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:47Z" level=info msg="Handling loaded state: after-reboot" + time="2025-02-08T06:08:47Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:47Z" level=error msg="Mender shut down in state: after-reboot" + time="2025-02-08T06:08:47Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:47Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08: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]:42074->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42074->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59441->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59441->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules969825400/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules969825400/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=debug msg="Will try to rollback reboot the device" + time="2025-02-08T06:08:47Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08: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]:32917->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:32917->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34804->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34804->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:50372->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:50372->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36356->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36356->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules969825400/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules969825400/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules969825400/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules969825400/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:47Z" level=debug msg="Handling state after rollback reboot" + time="2025-02-08T06:08:47Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:55132->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55132->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58679->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58679->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:41077->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41077->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37016->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37016->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules969825400/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules969825400/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules969825400/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules969825400/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:47Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:47Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:47Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules969825400/artifact_info file." + time="2025-02-08T06:08:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules969825400/artifact_info" + time="2025-02-08T06:08:47Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:47Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.04s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback state_test.go:4717: Error in ArtifactRollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:34Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:34Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53411->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53411->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48973->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48973->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:34Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:34Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:34Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules804780487/device_type" - time="2024-01-06T23:39:34Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:34Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:34Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:34Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:34Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules804780487/artifact_info file." - time="2024-01-06T23:39:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules804780487/artifact_info" - time="2024-01-06T23:39:34Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:34Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules804780487/artifact_info" - time="2024-01-06T23:39:34Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules804780487/device_type" - time="2024-01-06T23:39:34Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:34Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules804780487/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules804780487/work/payloads/0000/tree" - time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules804780487/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules804780487/work/payloads/0000/tree" - time="2024-01-06T23:39:34Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:34Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:34Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:34Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38062->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38062->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48063->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48063->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59757->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59757->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60292->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60292->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules804780487/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules804780487/work/payloads/0000/tree" - time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules804780487/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules804780487/work/payloads/0000/tree" - time="2024-01-06T23:39:34Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:34Z" level=debug msg="Module needs custom reboot" - time="2024-01-06T23:39:34Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56704->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56704->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33207->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33207->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38094->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38094->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39755->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39755->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=debug msg="Handling reboot state" - time="2024-01-06T23:39:34Z" level=info msg="Rebooting device(s)" - time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules804780487/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules804780487/work/payloads/0000/tree" - time="2024-01-06T23:39:34Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules804780487/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules804780487/work/payloads/0000/tree" - time="2024-01-06T23:39:34Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:34Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:34Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:34Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38771->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38771->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47801->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47801->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52311->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52311->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41710->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41710->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules804780487/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules804780487/work/payloads/0000/tree" - time="2024-01-06T23:39:34Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:34Z" level=error msg="Rollback failed: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:34Z" level=error msg="fatal error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:34Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" - time="2024-01-06T23:39:34Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60888->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60888->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54150->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54150->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53698->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53698->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34627->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34627->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules804780487/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules804780487/work/payloads/0000/tree" - time="2024-01-06T23:39:34Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules804780487/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules804780487/work/payloads/0000/tree" - time="2024-01-06T23:39:34Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:34Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:34Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:34Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.25s) + time="2025-02-08T06:08:47Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:38294->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38294->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51579->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51579->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:47Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:47Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules971840193/device_type" + time="2025-02-08T06:08:47Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:47Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:47Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:47Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:47Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules971840193/artifact_info file." + time="2025-02-08T06:08:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules971840193/artifact_info" + time="2025-02-08T06:08:47Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:47Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules971840193/artifact_info" + time="2025-02-08T06:08:47Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules971840193/device_type" + time="2025-02-08T06:08:47Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:47Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules971840193/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules971840193/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules971840193/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules971840193/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:47Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:50220->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:50220->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42459->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42459->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:48455->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48455->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:57932->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:57932->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules971840193/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules971840193/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules971840193/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules971840193/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:47Z" level=debug msg="Module needs custom reboot" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08: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]:51373->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51373->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51767->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51767->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08: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]:46519->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:46519->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:53343->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:53343->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="Handling reboot state" + time="2025-02-08T06:08:47Z" level=info msg="Rebooting device(s)" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules971840193/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules971840193/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules971840193/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules971840193/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:47Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:47Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:47Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08: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]:41626->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41626->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48897->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48897->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08: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]:38422->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38422->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:57236->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:57236->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules971840193/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules971840193/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:47Z" level=error msg="Rollback failed: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:47Z" level=error msg="fatal error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:47Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" + time="2025-02-08T06:08:47Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08: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]:41619->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41619->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43916->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43916->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:48293->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48293->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44886->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44886->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules971840193/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules971840193/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules971840193/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules971840193/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:47Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:47Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:47Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.09s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback state_test.go:4717: Killed in ArtifactRollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:34Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:34Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39377->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39377->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47817->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47817->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:34Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:34Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:34Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules029652412/device_type" - time="2024-01-06T23:39:34Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:34Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:34Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:34Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:34Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules029652412/artifact_info file." - time="2024-01-06T23:39:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules029652412/artifact_info" - time="2024-01-06T23:39:34Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:34Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules029652412/artifact_info" - time="2024-01-06T23:39:34Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules029652412/device_type" - time="2024-01-06T23:39:34Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:34Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules029652412/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules029652412/work/payloads/0000/tree" - time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules029652412/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules029652412/work/payloads/0000/tree" - time="2024-01-06T23:39:34Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:34Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:34Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:34Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44969->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44969->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36138->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36138->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44094->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44094->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56980->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56980->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules029652412/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules029652412/work/payloads/0000/tree" - time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules029652412/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules029652412/work/payloads/0000/tree" - time="2024-01-06T23:39:34Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:34Z" level=debug msg="Module needs custom reboot" - time="2024-01-06T23:39:34Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34627->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34627->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50424->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50424->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40529->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40529->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41045->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41045->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=debug msg="Handling reboot state" - time="2024-01-06T23:39:34Z" level=info msg="Rebooting device(s)" - time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules029652412/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules029652412/work/payloads/0000/tree" - time="2024-01-06T23:39:34Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules029652412/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules029652412/work/payloads/0000/tree" - time="2024-01-06T23:39:34Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:34Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:34Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:34Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48602->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48602->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48959->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48959->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45078->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45078->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54172->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54172->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules029652412/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules029652412/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:57790->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:57790->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:56616->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:56616->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:47Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:47Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules624557886/device_type" + time="2025-02-08T06:08:47Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:47Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:47Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:47Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:47Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules624557886/artifact_info file." + time="2025-02-08T06:08:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules624557886/artifact_info" + time="2025-02-08T06:08:47Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:47Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules624557886/artifact_info" + time="2025-02-08T06:08:47Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules624557886/device_type" + time="2025-02-08T06:08:47Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:47Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules624557886/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules624557886/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules624557886/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules624557886/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:47Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:47012->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47012->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51247->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51247->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:41245->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41245->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:49239->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:49239->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules624557886/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules624557886/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules624557886/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules624557886/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:47Z" level=debug msg="Module needs custom reboot" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08: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]:36092->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36092->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:46790->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:46790->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08: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]:49675->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:49675->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37765->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37765->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="Handling reboot state" + time="2025-02-08T06:08:47Z" level=info msg="Rebooting device(s)" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules624557886/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules624557886/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules624557886/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules624557886/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:47Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:47Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:47Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08: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]:42659->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42659->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47228->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47228->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08: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]:59189->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59189->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:56906->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:56906->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules624557886/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules624557886/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 7 (*app.updateRollbackState) - time="2024-01-06T23:39:34Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:34Z" level=info msg="Handling loaded state: rollback" - time="2024-01-06T23:39:34Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:34Z" level=error msg="Mender shut down in state: rollback" - time="2024-01-06T23:39:34Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:34Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36005->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36005->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40233->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40233->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules029652412/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules029652412/work/payloads/0000/tree" - time="2024-01-06T23:39:34Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-06T23:39:34Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55692->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55692->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54106->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54106->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50990->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50990->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50589->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50589->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules029652412/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules029652412/work/payloads/0000/tree" - time="2024-01-06T23:39:34Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules029652412/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules029652412/work/payloads/0000/tree" - time="2024-01-06T23:39:34Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:34Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-06T23:39:34Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54092->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54092->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32787->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32787->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37242->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37242->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40533->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40533->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules029652412/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules029652412/work/payloads/0000/tree" - time="2024-01-06T23:39:34Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules029652412/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules029652412/work/payloads/0000/tree" - time="2024-01-06T23:39:34Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:34Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:34Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:34Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules029652412/artifact_info file." - time="2024-01-06T23:39:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules029652412/artifact_info" - time="2024-01-06T23:39:34Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:34Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:47Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:47Z" level=info msg="Handling loaded state: rollback" + time="2025-02-08T06:08:47Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:47Z" level=error msg="Mender shut down in state: rollback" + time="2025-02-08T06:08:47Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:47Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08: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]:58728->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58728->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54593->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54593->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules624557886/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules624557886/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=debug msg="Will try to rollback reboot the device" + time="2025-02-08T06:08:47Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08: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]:57182->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:57182->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:46370->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:46370->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:37485->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37485->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35132->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35132->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules624557886/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules624557886/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules624557886/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules624557886/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:47Z" level=debug msg="Handling state after rollback reboot" + time="2025-02-08T06:08:47Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:45923->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:45923->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55903->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55903->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:34650->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34650->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51779->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51779->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules624557886/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules624557886/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules624557886/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules624557886/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:47Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:47Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:47Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules624557886/artifact_info file." + time="2025-02-08T06:08:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules624557886/artifact_info" + time="2025-02-08T06:08:47Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:47Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.05s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot state_test.go:4717: Error in ArtifactRollbackReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:34Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:34Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:34Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53933->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53933->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36902->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36902->[::1]:53: read: connection refused" - time="2024-01-06T23:39:34Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:34Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:34Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:34Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules706213717/device_type" - time="2024-01-06T23:39:34Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:34Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:34Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:34Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:34Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules706213717/artifact_info file." - time="2024-01-06T23:39:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules706213717/artifact_info" - time="2024-01-06T23:39:34Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:34Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules706213717/artifact_info" - time="2024-01-06T23:39:34Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules706213717/device_type" - time="2024-01-06T23:39:34Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:34Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:34Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules706213717/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules706213717/work/payloads/0000/tree" - time="2024-01-06T23:39:34Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules706213717/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules706213717/work/payloads/0000/tree" - time="2024-01-06T23:39:35Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:35Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:35Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:35Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38449->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38449->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55768->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55768->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51796->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51796->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59376->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59376->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules706213717/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules706213717/work/payloads/0000/tree" - time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules706213717/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules706213717/work/payloads/0000/tree" - time="2024-01-06T23:39:35Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:35Z" level=debug msg="Module needs custom reboot" - time="2024-01-06T23:39:35Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56633->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56633->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38315->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38315->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58371->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58371->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54133->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54133->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=debug msg="Handling reboot state" - time="2024-01-06T23:39:35Z" level=info msg="Rebooting device(s)" - time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules706213717/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules706213717/work/payloads/0000/tree" - time="2024-01-06T23:39:35Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules706213717/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules706213717/work/payloads/0000/tree" - time="2024-01-06T23:39:35Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:35Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:35Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:35Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44700->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44700->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45569->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45569->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59855->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59855->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37906->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37906->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules706213717/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules706213717/work/payloads/0000/tree" - time="2024-01-06T23:39:35Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-06T23:39:35Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38023->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38023->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43488->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43488->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58991->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58991->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56946->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56946->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules706213717/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules706213717/work/payloads/0000/tree" - time="2024-01-06T23:39:35Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:35Z" level=error msg="Error rebooting device: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:35Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules706213717/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules706213717/work/payloads/0000/tree" - time="2024-01-06T23:39:35Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:35Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-06T23:39:35Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37776->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37776->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33670->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33670->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50445->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50445->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33313->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33313->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules706213717/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules706213717/work/payloads/0000/tree" - time="2024-01-06T23:39:35Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules706213717/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules706213717/work/payloads/0000/tree" - time="2024-01-06T23:39:35Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:35Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:35Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:35Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules706213717/artifact_info file." - time="2024-01-06T23:39:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules706213717/artifact_info" - time="2024-01-06T23:39:35Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:35Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.29s) + time="2025-02-08T06:08:47Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:57512->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:57512->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:46620->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:46620->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:47Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:47Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules110475775/device_type" + time="2025-02-08T06:08:47Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:47Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:47Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:47Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:47Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules110475775/artifact_info file." + time="2025-02-08T06:08:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules110475775/artifact_info" + time="2025-02-08T06:08:47Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:47Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules110475775/artifact_info" + time="2025-02-08T06:08:47Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules110475775/device_type" + time="2025-02-08T06:08:47Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:47Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:47Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules110475775/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules110475775/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules110475775/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules110475775/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:47Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:44518->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44518->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54701->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54701->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:57619->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:57619->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48899->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48899->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules110475775/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules110475775/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules110475775/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules110475775/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:47Z" level=debug msg="Module needs custom reboot" + time="2025-02-08T06:08:47Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08: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]:47315->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47315->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:56310->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:56310->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08: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]:34898->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34898->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38174->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38174->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="Handling reboot state" + time="2025-02-08T06:08:47Z" level=info msg="Rebooting device(s)" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules110475775/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules110475775/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules110475775/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules110475775/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:47Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:47Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:47Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08: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]:52376->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52376->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58995->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58995->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08: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]:40926->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40926->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54146->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54146->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules110475775/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules110475775/work/payloads/0000/tree" + time="2025-02-08T06:08:47Z" level=debug msg="Will try to rollback reboot the device" + time="2025-02-08T06:08:47Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08: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]:38777->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38777->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40240->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40240->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:47Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:38969->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38969->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:49967->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:49967->[::1]:53: read: connection refused" + time="2025-02-08T06:08:47Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:47Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules110475775/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules110475775/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:48Z" level=error msg="Error rebooting device: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:48Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules110475775/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules110475775/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:48Z" level=debug msg="Handling state after rollback reboot" + time="2025-02-08T06:08:48Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:51061->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51061->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40470->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40470->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:42834->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42834->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54667->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54667->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules110475775/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules110475775/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules110475775/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules110475775/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:48Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:48Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:48Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules110475775/artifact_info file." + time="2025-02-08T06:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules110475775/artifact_info" + time="2025-02-08T06:08:48Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:48Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.10s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot state_test.go:4717: Killed in ArtifactRollbackReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:35Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:35Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56400->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56400->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34154->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34154->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:35Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:35Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:35Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules443010402/device_type" - time="2024-01-06T23:39:35Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:35Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:35Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:35Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:35Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules443010402/artifact_info file." - time="2024-01-06T23:39:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules443010402/artifact_info" - time="2024-01-06T23:39:35Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:35Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules443010402/artifact_info" - time="2024-01-06T23:39:35Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules443010402/device_type" - time="2024-01-06T23:39:35Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:35Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:35Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules443010402/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules443010402/work/payloads/0000/tree" - time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules443010402/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules443010402/work/payloads/0000/tree" - time="2024-01-06T23:39:35Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:35Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:35Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:35Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54119->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54119->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49212->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49212->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44646->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44646->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54563->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54563->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules443010402/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules443010402/work/payloads/0000/tree" - time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules443010402/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules443010402/work/payloads/0000/tree" - time="2024-01-06T23:39:35Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:35Z" level=debug msg="Module needs custom reboot" - time="2024-01-06T23:39:35Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58899->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58899->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49206->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49206->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53711->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53711->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53527->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53527->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=debug msg="Handling reboot state" - time="2024-01-06T23:39:35Z" level=info msg="Rebooting device(s)" - time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules443010402/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules443010402/work/payloads/0000/tree" - time="2024-01-06T23:39:35Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules443010402/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules443010402/work/payloads/0000/tree" - time="2024-01-06T23:39:35Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:35Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:35Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:35Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45458->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45458->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49007->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49007->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59470->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59470->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49212->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49212->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules443010402/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules443010402/work/payloads/0000/tree" - time="2024-01-06T23:39:35Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-06T23:39:35Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35972->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35972->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48938->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48938->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35857->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35857->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33057->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33057->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules443010402/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules443010402/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:42550->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42550->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34969->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34969->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:48Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:48Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules837337172/device_type" + time="2025-02-08T06:08:48Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:48Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:48Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:48Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:48Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules837337172/artifact_info file." + time="2025-02-08T06:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules837337172/artifact_info" + time="2025-02-08T06:08:48Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:48Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules837337172/artifact_info" + time="2025-02-08T06:08:48Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules837337172/device_type" + time="2025-02-08T06:08:48Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:48Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules837337172/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules837337172/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules837337172/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules837337172/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:48Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:46339->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:46339->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34085->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34085->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:60500->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60500->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43871->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43871->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules837337172/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules837337172/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules837337172/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules837337172/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:48Z" level=debug msg="Module needs custom reboot" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08: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]:50249->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:50249->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:57824->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:57824->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08: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]:57244->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:57244->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:57362->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:57362->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="Handling reboot state" + time="2025-02-08T06:08:48Z" level=info msg="Rebooting device(s)" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules837337172/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules837337172/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules837337172/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules837337172/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:48Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:48Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:48Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08: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]:55639->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55639->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:50187->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:50187->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08: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]:59082->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59082->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52619->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52619->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules837337172/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules837337172/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=debug msg="Will try to rollback reboot the device" + time="2025-02-08T06:08:48Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08: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]:38954->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38954->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41797->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41797->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:44231->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44231->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36398->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36398->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules837337172/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules837337172/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 8 (*app.updateVerifyRollbackRebootState) - time="2024-01-06T23:39:35Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:35Z" level=info msg="Handling loaded state: rollback-reboot" - time="2024-01-06T23:39:35Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:35Z" level=info msg="Mender shut down in state: rollback-reboot" - time="2024-01-06T23:39:35Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:35Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules443010402/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules443010402/work/payloads/0000/tree" - time="2024-01-06T23:39:35Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:35Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-06T23:39:35Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57967->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57967->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37056->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37056->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52390->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52390->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49629->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49629->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules443010402/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules443010402/work/payloads/0000/tree" - time="2024-01-06T23:39:35Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules443010402/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules443010402/work/payloads/0000/tree" - time="2024-01-06T23:39:35Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:35Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:35Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:35Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules443010402/artifact_info file." - time="2024-01-06T23:39:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules443010402/artifact_info" - time="2024-01-06T23:39:35Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:35Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.07s) + time="2025-02-08T06:08:48Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:48Z" level=info msg="Handling loaded state: rollback-reboot" + time="2025-02-08T06:08:48Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:48Z" level=info msg="Mender shut down in state: rollback-reboot" + time="2025-02-08T06:08:48Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:48Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules837337172/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules837337172/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:48Z" level=debug msg="Handling state after rollback reboot" + time="2025-02-08T06:08:48Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:60738->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60738->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55944->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55944->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:59434->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59434->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41368->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41368->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules837337172/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules837337172/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules837337172/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules837337172/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:48Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:48Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:48Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules837337172/artifact_info file." + time="2025-02-08T06:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules837337172/artifact_info" + time="2025-02-08T06:08:48Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:48Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.03s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactVerifyRollbackReboot state_test.go:4717: Error in ArtifactVerifyRollbackReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:35Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:35Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57218->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57218->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46308->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46308->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:35Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:35Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:35Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules066118899/device_type" - time="2024-01-06T23:39:35Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:35Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:35Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:35Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:35Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules066118899/artifact_info file." - time="2024-01-06T23:39:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules066118899/artifact_info" - time="2024-01-06T23:39:35Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:35Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules066118899/artifact_info" - time="2024-01-06T23:39:35Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules066118899/device_type" - time="2024-01-06T23:39:35Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:35Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:35Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules066118899/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules066118899/work/payloads/0000/tree" - time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules066118899/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules066118899/work/payloads/0000/tree" - time="2024-01-06T23:39:35Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:35Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:35Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:35Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39738->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39738->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46212->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46212->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40068->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40068->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39031->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39031->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules066118899/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules066118899/work/payloads/0000/tree" - time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules066118899/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules066118899/work/payloads/0000/tree" - time="2024-01-06T23:39:35Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:35Z" level=debug msg="Module needs custom reboot" - time="2024-01-06T23:39:35Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53668->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53668->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55970->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55970->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38625->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38625->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33634->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33634->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=debug msg="Handling reboot state" - time="2024-01-06T23:39:35Z" level=info msg="Rebooting device(s)" - time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules066118899/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules066118899/work/payloads/0000/tree" - time="2024-01-06T23:39:35Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules066118899/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules066118899/work/payloads/0000/tree" - time="2024-01-06T23:39:35Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:35Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:35Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:35Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39781->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39781->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60175->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60175->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35207->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35207->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54030->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54030->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules066118899/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules066118899/work/payloads/0000/tree" - time="2024-01-06T23:39:35Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-06T23:39:35Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38282->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38282->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40813->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40813->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34521->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34521->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33687->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33687->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules066118899/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules066118899/work/payloads/0000/tree" - time="2024-01-06T23:39:35Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules066118899/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules066118899/work/payloads/0000/tree" - time="2024-01-06T23:39:35Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:35Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:35Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59653->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59653->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55444->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55444->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52560->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52560->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59616->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59616->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules066118899/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules066118899/work/payloads/0000/tree" - time="2024-01-06T23:39:35Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules066118899/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules066118899/work/payloads/0000/tree" - time="2024-01-06T23:39:35Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:35Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-06T23:39:35Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59731->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59731->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39197->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39197->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43180->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43180->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49385->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49385->[::1]:53: read: connection refused" - time="2024-01-06T23:39:35Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules066118899/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules066118899/work/payloads/0000/tree" - time="2024-01-06T23:39:35Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:35Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules066118899/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules066118899/work/payloads/0000/tree" - time="2024-01-06T23:39:35Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:35Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:35Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:35Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:35Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules066118899/artifact_info file." - time="2024-01-06T23:39:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules066118899/artifact_info" - time="2024-01-06T23:39:35Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:35Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.37s) + time="2025-02-08T06:08:48Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:36675->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36675->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44175->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44175->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:48Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:48Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules968634317/device_type" + time="2025-02-08T06:08:48Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:48Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:48Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:48Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:48Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules968634317/artifact_info file." + time="2025-02-08T06:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules968634317/artifact_info" + time="2025-02-08T06:08:48Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:48Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules968634317/artifact_info" + time="2025-02-08T06:08:48Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules968634317/device_type" + time="2025-02-08T06:08:48Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:48Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules968634317/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules968634317/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules968634317/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules968634317/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:48Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:53304->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:53304->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55633->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55633->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:38515->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38515->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34763->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34763->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules968634317/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules968634317/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules968634317/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules968634317/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:48Z" level=debug msg="Module needs custom reboot" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08: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]:44724->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44724->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35332->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35332->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08: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]:45435->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:45435->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60481->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60481->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="Handling reboot state" + time="2025-02-08T06:08:48Z" level=info msg="Rebooting device(s)" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules968634317/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules968634317/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules968634317/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules968634317/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:48Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:48Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:48Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08: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]:49096->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:49096->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:49019->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:49019->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08: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]:55912->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55912->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43853->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43853->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules968634317/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules968634317/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=debug msg="Will try to rollback reboot the device" + time="2025-02-08T06:08:48Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08: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]:58440->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58440->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44502->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44502->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:40937->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40937->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39118->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39118->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules968634317/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules968634317/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules968634317/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules968634317/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:48Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:48Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:43940->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43940->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55106->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55106->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:36259->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36259->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39544->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39544->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules968634317/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules968634317/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules968634317/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules968634317/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:48Z" level=debug msg="Handling state after rollback reboot" + time="2025-02-08T06:08:48Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:57405->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:57405->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37664->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37664->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:41132->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41132->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54563->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54563->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules968634317/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules968634317/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules968634317/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules968634317/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:48Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:48Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:48Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules968634317/artifact_info file." + time="2025-02-08T06:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules968634317/artifact_info" + time="2025-02-08T06:08:48Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:48Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.12s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactVerifyRollbackReboot state_test.go:4717: Killed in ArtifactVerifyRollbackReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:36Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:36Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:36Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:36Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49589->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49589->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59707->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59707->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:36Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:36Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:36Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules587220568/device_type" - time="2024-01-06T23:39:36Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:36Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:36Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:36Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:36Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules587220568/artifact_info file." - time="2024-01-06T23:39:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules587220568/artifact_info" - time="2024-01-06T23:39:36Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:36Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules587220568/artifact_info" - time="2024-01-06T23:39:36Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules587220568/device_type" - time="2024-01-06T23:39:36Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:36Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules587220568/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules587220568/work/payloads/0000/tree" - time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules587220568/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules587220568/work/payloads/0000/tree" - time="2024-01-06T23:39:36Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:36Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:36Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:36Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:36Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39025->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39025->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58586->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58586->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40486->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40486->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39547->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39547->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules587220568/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules587220568/work/payloads/0000/tree" - time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules587220568/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules587220568/work/payloads/0000/tree" - time="2024-01-06T23:39:36Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:36Z" level=debug msg="Module needs custom reboot" - time="2024-01-06T23:39:36Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33805->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33805->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58157->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58157->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55043->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55043->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45865->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45865->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=debug msg="Handling reboot state" - time="2024-01-06T23:39:36Z" level=info msg="Rebooting device(s)" - time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules587220568/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules587220568/work/payloads/0000/tree" - time="2024-01-06T23:39:36Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules587220568/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules587220568/work/payloads/0000/tree" - time="2024-01-06T23:39:36Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:36Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:36Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:36Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49320->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49320->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47826->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47826->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46124->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46124->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44963->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44963->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules587220568/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules587220568/work/payloads/0000/tree" - time="2024-01-06T23:39:36Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-06T23:39:36Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53109->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53109->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32977->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32977->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36739->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36739->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49235->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49235->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules587220568/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules587220568/work/payloads/0000/tree" - time="2024-01-06T23:39:36Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules587220568/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules587220568/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:40304->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40304->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48462->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48462->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:48Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:48Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules326252346/device_type" + time="2025-02-08T06:08:48Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:48Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:48Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:48Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:48Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules326252346/artifact_info file." + time="2025-02-08T06:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules326252346/artifact_info" + time="2025-02-08T06:08:48Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:48Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules326252346/artifact_info" + time="2025-02-08T06:08:48Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules326252346/device_type" + time="2025-02-08T06:08:48Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:48Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules326252346/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules326252346/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules326252346/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules326252346/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:48Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:58842->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58842->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51059->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51059->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:35015->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35015->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:53972->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:53972->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules326252346/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules326252346/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules326252346/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules326252346/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:48Z" level=debug msg="Module needs custom reboot" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08: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]:45430->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:45430->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52379->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52379->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08: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]:50356->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:50356->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39857->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39857->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="Handling reboot state" + time="2025-02-08T06:08:48Z" level=info msg="Rebooting device(s)" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules326252346/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules326252346/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules326252346/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules326252346/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:48Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:48Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:48Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08: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]:55340->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55340->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51178->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51178->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08: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]:33948->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33948->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44268->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44268->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules326252346/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules326252346/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=debug msg="Will try to rollback reboot the device" + time="2025-02-08T06:08:48Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08: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]:47743->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47743->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60266->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60266->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:46674->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:46674->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36097->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36097->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules326252346/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules326252346/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules326252346/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules326252346/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 9 (*app.updateVerifyRollbackRebootState) - time="2024-01-06T23:39:36Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:36Z" level=info msg="Handling loaded state: verify-rollback-reboot" - time="2024-01-06T23:39:36Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:36Z" level=error msg="Mender shut down in state: verify-rollback-reboot" - time="2024-01-06T23:39:36Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:36Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules587220568/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules587220568/work/payloads/0000/tree" - time="2024-01-06T23:39:36Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:36Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-06T23:39:36Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56015->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56015->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51297->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51297->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47630->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47630->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55106->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55106->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules587220568/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules587220568/work/payloads/0000/tree" - time="2024-01-06T23:39:36Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:36Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules587220568/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules587220568/work/payloads/0000/tree" - time="2024-01-06T23:39:36Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:36Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:36Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:36Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:36Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules587220568/artifact_info file." - time="2024-01-06T23:39:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules587220568/artifact_info" - time="2024-01-06T23:39:36Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:36Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.05s) + time="2025-02-08T06:08:48Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:48Z" level=info msg="Handling loaded state: verify-rollback-reboot" + time="2025-02-08T06:08:48Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:48Z" level=error msg="Mender shut down in state: verify-rollback-reboot" + time="2025-02-08T06:08:48Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:48Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules326252346/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules326252346/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:48Z" level=debug msg="Handling state after rollback reboot" + time="2025-02-08T06:08:48Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:53589->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:53589->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44022->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44022->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:36738->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36738->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47783->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47783->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules326252346/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules326252346/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules326252346/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules326252346/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:48Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:48Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:48Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules326252346/artifact_info file." + time="2025-02-08T06:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules326252346/artifact_info" + time="2025-02-08T06:08:48Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:48Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.02s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure state_test.go:4717: Error in ArtifactFailure state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:36Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:36Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:36Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:36Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58132->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58132->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52865->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52865->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:36Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:36Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:36Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules415530017/device_type" - time="2024-01-06T23:39:36Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:36Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:36Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:36Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:36Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules415530017/artifact_info file." - time="2024-01-06T23:39:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules415530017/artifact_info" - time="2024-01-06T23:39:36Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:36Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules415530017/artifact_info" - time="2024-01-06T23:39:36Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules415530017/device_type" - time="2024-01-06T23:39:36Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:36Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules415530017/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules415530017/work/payloads/0000/tree" - time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules415530017/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules415530017/work/payloads/0000/tree" - time="2024-01-06T23:39:36Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:36Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:36Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:36Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:36Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42012->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42012->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54093->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54093->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40872->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40872->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52067->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52067->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules415530017/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules415530017/work/payloads/0000/tree" - time="2024-01-06T23:39:36Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:36Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:36Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:36Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57739->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57739->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36501->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36501->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45698->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45698->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40059->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40059->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules415530017/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules415530017/work/payloads/0000/tree" - time="2024-01-06T23:39:36Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33005->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33005->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40978->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40978->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43362->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43362->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49318->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49318->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules415530017/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules415530017/work/payloads/0000/tree" - time="2024-01-06T23:39:36Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:36Z" level=error msg="ArtifactFailure failed: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:36Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:36Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules415530017/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules415530017/work/payloads/0000/tree" - time="2024-01-06T23:39:36Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:36Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:36Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:36Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:36Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules415530017/artifact_info file." - time="2024-01-06T23:39:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules415530017/artifact_info" - time="2024-01-06T23:39:36Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:36Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.20s) + time="2025-02-08T06:08:48Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:32865->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:32865->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59218->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59218->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:48Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:48Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules901443499/device_type" + time="2025-02-08T06:08:48Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:48Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:48Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:48Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:48Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules901443499/artifact_info file." + time="2025-02-08T06:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules901443499/artifact_info" + time="2025-02-08T06:08:48Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:48Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules901443499/artifact_info" + time="2025-02-08T06:08:48Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules901443499/device_type" + time="2025-02-08T06:08:48Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:48Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules901443499/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules901443499/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules901443499/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules901443499/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:48Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:38117->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38117->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:45314->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:45314->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:56878->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:56878->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44713->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44713->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules901443499/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules901443499/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:48Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:48Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08: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]:56465->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:56465->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52086->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52086->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08: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]:43826->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43826->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39698->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39698->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules901443499/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules901443499/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08: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]:53217->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:53217->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55778->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55778->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:40864->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40864->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52612->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52612->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules901443499/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules901443499/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:48Z" level=error msg="ArtifactFailure failed: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules901443499/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules901443499/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:48Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:48Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:48Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules901443499/artifact_info file." + time="2025-02-08T06:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules901443499/artifact_info" + time="2025-02-08T06:08:48Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:48Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.07s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure state_test.go:4717: Killed in ArtifactFailure state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:36Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:36Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:36Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:36Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48619->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48619->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49440->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49440->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:36Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:36Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:36Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules714809886/device_type" - time="2024-01-06T23:39:36Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:36Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:36Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:36Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:36Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules714809886/artifact_info file." - time="2024-01-06T23:39:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules714809886/artifact_info" - time="2024-01-06T23:39:36Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:36Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules714809886/artifact_info" - time="2024-01-06T23:39:36Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules714809886/device_type" - time="2024-01-06T23:39:36Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:36Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:36Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules714809886/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules714809886/work/payloads/0000/tree" - time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules714809886/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules714809886/work/payloads/0000/tree" - time="2024-01-06T23:39:36Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:36Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:36Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:36Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:36Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36312->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36312->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56137->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56137->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41541->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41541->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40031->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40031->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules714809886/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules714809886/work/payloads/0000/tree" - time="2024-01-06T23:39:36Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:36Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:36Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:36Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50551->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50551->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59062->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59062->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50628->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50628->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45988->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45988->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules714809886/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules714809886/work/payloads/0000/tree" - time="2024-01-06T23:39:36Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42169->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42169->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34069->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34069->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53779->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53779->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33372->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33372->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules714809886/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules714809886/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:56095->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:56095->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:56922->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:56922->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:48Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:48Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules337018224/device_type" + time="2025-02-08T06:08:48Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:48Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:48Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:48Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:48Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules337018224/artifact_info file." + time="2025-02-08T06:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules337018224/artifact_info" + time="2025-02-08T06:08:48Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:48Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules337018224/artifact_info" + time="2025-02-08T06:08:48Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules337018224/device_type" + time="2025-02-08T06:08:48Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:48Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules337018224/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules337018224/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules337018224/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules337018224/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:48Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:41702->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41702->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40366->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40366->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:43195->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43195->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44154->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44154->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules337018224/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules337018224/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:48Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:48Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08: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]:58865->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58865->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51469->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51469->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08: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]:57053->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:57053->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39265->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39265->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules337018224/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules337018224/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08: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]:56818->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:56818->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39054->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39054->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:40232->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40232->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52375->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52375->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules337018224/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules337018224/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 6 (*app.updateErrorState) - time="2024-01-06T23:39:36Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:36Z" level=info msg="Handling loaded state: update-error" - time="2024-01-06T23:39:36Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:36Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-06T23:39:36Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:36Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43218->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43218->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43012->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43012->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules714809886/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules714809886/work/payloads/0000/tree" - time="2024-01-06T23:39:36Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:36Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:36Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:36Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules714809886/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules714809886/work/payloads/0000/tree" - time="2024-01-06T23:39:36Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:36Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:36Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:36Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:36Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules714809886/artifact_info file." - time="2024-01-06T23:39:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules714809886/artifact_info" - time="2024-01-06T23:39:36Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:36Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.05s) + time="2025-02-08T06:08:48Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:48Z" level=info msg="Handling loaded state: update-error" + time="2025-02-08T06:08:48Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:48Z" level=error msg="Mender shut down in state: update-error" + time="2025-02-08T06:08:48Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:48Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:41827->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41827->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33909->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33909->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules337018224/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules337018224/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules337018224/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules337018224/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:48Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:48Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:48Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules337018224/artifact_info file." + time="2025-02-08T06:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules337018224/artifact_info" + time="2025-02-08T06:08:48Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:48Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.02s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_Cleanup state_test.go:4717: Error in Cleanup state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:36Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:36Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:36Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:36Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47026->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47026->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41815->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41815->[::1]:53: read: connection refused" - time="2024-01-06T23:39:36Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:36Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:36Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:36Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules008555615/device_type" - time="2024-01-06T23:39:36Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:36Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:36Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:37Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:37Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules008555615/artifact_info file." - time="2024-01-06T23:39:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules008555615/artifact_info" - time="2024-01-06T23:39:37Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:37Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules008555615/artifact_info" - time="2024-01-06T23:39:37Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules008555615/device_type" - time="2024-01-06T23:39:37Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:37Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules008555615/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules008555615/work/payloads/0000/tree" - time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules008555615/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules008555615/work/payloads/0000/tree" - time="2024-01-06T23:39:37Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:37Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:37Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:37Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59940->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59940->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49124->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49124->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58905->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58905->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37336->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37336->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules008555615/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules008555615/work/payloads/0000/tree" - time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules008555615/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules008555615/work/payloads/0000/tree" - time="2024-01-06T23:39:37Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:37Z" level=debug msg="Module needs custom reboot" - time="2024-01-06T23:39:37Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50896->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50896->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37254->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37254->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52345->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52345->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60140->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60140->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=debug msg="Handling reboot state" - time="2024-01-06T23:39:37Z" level=info msg="Rebooting device(s)" - time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules008555615/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules008555615/work/payloads/0000/tree" - time="2024-01-06T23:39:37Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules008555615/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules008555615/work/payloads/0000/tree" - time="2024-01-06T23:39:37Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:37Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:37Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:37Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47737->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47737->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49467->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49467->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41897->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41897->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37998->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37998->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules008555615/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules008555615/work/payloads/0000/tree" - time="2024-01-06T23:39:37Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-06T23:39:37Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37937->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37937->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58719->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58719->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45333->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45333->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56499->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56499->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules008555615/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules008555615/work/payloads/0000/tree" - time="2024-01-06T23:39:37Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules008555615/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules008555615/work/payloads/0000/tree" - time="2024-01-06T23:39:37Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:37Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-06T23:39:37Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36363->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36363->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50999->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50999->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60702->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60702->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59011->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59011->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules008555615/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules008555615/work/payloads/0000/tree" - time="2024-01-06T23:39:37Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules008555615/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules008555615/work/payloads/0000/tree" - time="2024-01-06T23:39:37Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:37Z" level=error msg="Cleanup failed: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:37Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:37Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:37Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:37Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules008555615/artifact_info file." - time="2024-01-06T23:39:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules008555615/artifact_info" - time="2024-01-06T23:39:37Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:37Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.29s) + time="2025-02-08T06:08:48Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:38678->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38678->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55245->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55245->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:48Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:48Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules263580441/device_type" + time="2025-02-08T06:08:48Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:48Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:48Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:48Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:48Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules263580441/artifact_info file." + time="2025-02-08T06:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules263580441/artifact_info" + time="2025-02-08T06:08:48Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:48Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules263580441/artifact_info" + time="2025-02-08T06:08:48Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules263580441/device_type" + time="2025-02-08T06:08:48Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:48Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules263580441/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules263580441/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules263580441/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules263580441/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:48Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:59274->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59274->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48282->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48282->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:33165->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33165->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54877->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54877->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules263580441/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules263580441/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules263580441/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules263580441/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:48Z" level=debug msg="Module needs custom reboot" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08: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]:52556->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52556->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47689->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47689->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08: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]:36398->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36398->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38334->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38334->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="Handling reboot state" + time="2025-02-08T06:08:48Z" level=info msg="Rebooting device(s)" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules263580441/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules263580441/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules263580441/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules263580441/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:48Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:48Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:48Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08: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]:60933->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60933->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47880->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47880->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08: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]:46164->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:46164->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38115->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38115->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules263580441/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules263580441/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=debug msg="Will try to rollback reboot the device" + time="2025-02-08T06:08:48Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08: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]:54093->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54093->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40573->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40573->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:50564->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:50564->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:46327->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:46327->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules263580441/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules263580441/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules263580441/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules263580441/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:48Z" level=debug msg="Handling state after rollback reboot" + time="2025-02-08T06:08:48Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:53408->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:53408->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35032->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35032->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:36964->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36964->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:45023->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:45023->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules263580441/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules263580441/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules263580441/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules263580441/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:48Z" level=error msg="Cleanup failed: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:48Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:48Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:48Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:48Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules263580441/artifact_info file." + time="2025-02-08T06:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules263580441/artifact_info" + time="2025-02-08T06:08:48Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:48Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.10s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_Cleanup state_test.go:4717: Killed in Cleanup state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:37Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:37Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43584->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43584->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53671->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53671->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:37Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:37Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:37Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules336860212/device_type" - time="2024-01-06T23:39:37Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:37Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:37Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:37Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:37Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules336860212/artifact_info file." - time="2024-01-06T23:39:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules336860212/artifact_info" - time="2024-01-06T23:39:37Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:37Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules336860212/artifact_info" - time="2024-01-06T23:39:37Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules336860212/device_type" - time="2024-01-06T23:39:37Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:37Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules336860212/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules336860212/work/payloads/0000/tree" - time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules336860212/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules336860212/work/payloads/0000/tree" - time="2024-01-06T23:39:37Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:37Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:37Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:37Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38618->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38618->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41905->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41905->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38412->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38412->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50323->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50323->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules336860212/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules336860212/work/payloads/0000/tree" - time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules336860212/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules336860212/work/payloads/0000/tree" - time="2024-01-06T23:39:37Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:37Z" level=debug msg="Module needs custom reboot" - time="2024-01-06T23:39:37Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37363->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37363->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34661->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34661->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49105->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49105->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47584->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47584->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=debug msg="Handling reboot state" - time="2024-01-06T23:39:37Z" level=info msg="Rebooting device(s)" - time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules336860212/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules336860212/work/payloads/0000/tree" - time="2024-01-06T23:39:37Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules336860212/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules336860212/work/payloads/0000/tree" - time="2024-01-06T23:39:37Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:37Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:37Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:37Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36131->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36131->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55711->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55711->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52015->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52015->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46625->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46625->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules336860212/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules336860212/work/payloads/0000/tree" - time="2024-01-06T23:39:37Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-06T23:39:37Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56555->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56555->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55870->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55870->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51717->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51717->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35155->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35155->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules336860212/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules336860212/work/payloads/0000/tree" - time="2024-01-06T23:39:37Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules336860212/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules336860212/work/payloads/0000/tree" - time="2024-01-06T23:39:37Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:37Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-06T23:39:37Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58754->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58754->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35475->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35475->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58761->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58761->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38666->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38666->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules336860212/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules336860212/work/payloads/0000/tree" - time="2024-01-06T23:39:37Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules336860212/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules336860212/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:58763->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58763->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52097->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52097->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:48Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:48Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules855557750/device_type" + time="2025-02-08T06:08:48Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:48Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:48Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:48Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:48Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules855557750/artifact_info file." + time="2025-02-08T06:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules855557750/artifact_info" + time="2025-02-08T06:08:48Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:48Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules855557750/artifact_info" + time="2025-02-08T06:08:48Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules855557750/device_type" + time="2025-02-08T06:08:48Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:48Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules855557750/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules855557750/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules855557750/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules855557750/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:48Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:58202->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58202->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:45028->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:45028->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:48347->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48347->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58264->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58264->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules855557750/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules855557750/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules855557750/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules855557750/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:48Z" level=debug msg="Module needs custom reboot" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08: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]:54796->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54796->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:46472->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:46472->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08: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]:43080->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43080->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51712->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51712->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="Handling reboot state" + time="2025-02-08T06:08:48Z" level=info msg="Rebooting device(s)" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules855557750/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules855557750/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules855557750/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules855557750/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:48Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:48Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:48Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08: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]:48658->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48658->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48368->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48368->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08: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]:37415->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37415->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43288->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43288->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules855557750/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules855557750/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=debug msg="Will try to rollback reboot the device" + time="2025-02-08T06:08:48Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08: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]:48167->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48167->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:53631->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:53631->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:56857->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:56857->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39856->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39856->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules855557750/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules855557750/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules855557750/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules855557750/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:48Z" level=debug msg="Handling state after rollback reboot" + time="2025-02-08T06:08:48Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:50650->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:50650->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35858->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35858->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:49795->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:49795->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59187->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59187->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules855557750/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules855557750/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules855557750/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules855557750/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 12 (*app.updateCleanupState) - time="2024-01-06T23:39:37Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:37Z" level=info msg="Handling loaded state: cleanup" - time="2024-01-06T23:39:37Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:37Z" level=error msg="Mender shut down in state: cleanup" - time="2024-01-06T23:39:37Z" level=info msg="State transition: init [none] -> cleanup [Error]" - time="2024-01-06T23:39:37Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules336860212/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules336860212/work/payloads/0000/tree" - time="2024-01-06T23:39:37Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:37Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:37Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:37Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules336860212/artifact_info file." - time="2024-01-06T23:39:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules336860212/artifact_info" - time="2024-01-06T23:39:37Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:37Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:48Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:48Z" level=info msg="Handling loaded state: cleanup" + time="2025-02-08T06:08:48Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:48Z" level=error msg="Mender shut down in state: cleanup" + time="2025-02-08T06:08:48Z" level=info msg="State transition: init [none] -> cleanup [Error]" + time="2025-02-08T06:08:48Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules855557750/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules855557750/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:48Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:48Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:48Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules855557750/artifact_info file." + time="2025-02-08T06:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules855557750/artifact_info" + time="2025-02-08T06:08:48Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:48Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.01s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit state_test.go:4717: Error in ArtifactCommit state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:37Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:37Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54088->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54088->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57163->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57163->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:37Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:37Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:37Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules192355117/device_type" - time="2024-01-06T23:39:37Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:37Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:37Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:37Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:37Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules192355117/artifact_info file." - time="2024-01-06T23:39:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules192355117/artifact_info" - time="2024-01-06T23:39:37Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:37Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules192355117/artifact_info" - time="2024-01-06T23:39:37Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules192355117/device_type" - time="2024-01-06T23:39:37Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:37Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules192355117/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules192355117/work/payloads/0000/tree" - time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules192355117/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules192355117/work/payloads/0000/tree" - time="2024-01-06T23:39:37Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:37Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:37Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:37Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54160->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54160->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34519->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34519->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51506->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51506->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40551->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40551->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules192355117/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules192355117/work/payloads/0000/tree" - time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules192355117/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules192355117/work/payloads/0000/tree" - time="2024-01-06T23:39:37Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:37Z" level=debug msg="Module needs custom reboot" - time="2024-01-06T23:39:37Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57875->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57875->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52344->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52344->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38973->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38973->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55678->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55678->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=debug msg="Handling reboot state" - time="2024-01-06T23:39:37Z" level=info msg="Rebooting device(s)" - time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules192355117/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules192355117/work/payloads/0000/tree" - time="2024-01-06T23:39:37Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules192355117/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules192355117/work/payloads/0000/tree" - time="2024-01-06T23:39:37Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:39:37Z" level=debug msg="Handling state after reboot" - time="2024-01-06T23:39:37Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56572->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56572->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39867->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39867->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57155->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57155->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53751->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53751->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=debug msg="Handle update commit state" - time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules192355117/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules192355117/work/payloads/0000/tree" - time="2024-01-06T23:39:37Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:37Z" level=error msg="transient error: update commit failed: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:37Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:37Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52474->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52474->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60819->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60819->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37440->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37440->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47719->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47719->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules192355117/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules192355117/work/payloads/0000/tree" - time="2024-01-06T23:39:37Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-06T23:39:37Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48574->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48574->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36981->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36981->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42167->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42167->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50910->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50910->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules192355117/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules192355117/work/payloads/0000/tree" - time="2024-01-06T23:39:37Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules192355117/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules192355117/work/payloads/0000/tree" - time="2024-01-06T23:39:37Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:37Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-06T23:39:37Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49658->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49658->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40226->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40226->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39023->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39023->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49712->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49712->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules192355117/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules192355117/work/payloads/0000/tree" - time="2024-01-06T23:39:37Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules192355117/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules192355117/work/payloads/0000/tree" - time="2024-01-06T23:39:37Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:37Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:37Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:37Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules192355117/artifact_info file." - time="2024-01-06T23:39:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules192355117/artifact_info" - time="2024-01-06T23:39:37Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:37Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.28s) + time="2025-02-08T06:08:48Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:54957->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54957->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36565->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36565->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:48Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:48Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules044873623/device_type" + time="2025-02-08T06:08:48Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:48Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:48Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:48Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:48Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules044873623/artifact_info file." + time="2025-02-08T06:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules044873623/artifact_info" + time="2025-02-08T06:08:48Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:48Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules044873623/artifact_info" + time="2025-02-08T06:08:48Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules044873623/device_type" + time="2025-02-08T06:08:48Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:48Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:48Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules044873623/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules044873623/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules044873623/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules044873623/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:48Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:39386->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39386->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39656->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39656->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:46777->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:46777->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40911->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40911->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules044873623/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules044873623/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules044873623/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules044873623/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:48Z" level=debug msg="Module needs custom reboot" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08: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]:36287->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36287->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58646->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58646->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08: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]:35834->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35834->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34805->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34805->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="Handling reboot state" + time="2025-02-08T06:08:48Z" level=info msg="Rebooting device(s)" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules044873623/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules044873623/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules044873623/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules044873623/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:08:48Z" level=debug msg="Handling state after reboot" + time="2025-02-08T06:08:48Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08: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]:40963->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40963->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52401->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52401->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08: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]:46436->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:46436->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42078->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42078->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="Handle update commit state" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules044873623/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules044873623/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:48Z" level=error msg="transient error: update commit failed: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:48Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:48Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08: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]:42407->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42407->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37740->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37740->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08: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]:60226->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60226->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51772->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51772->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules044873623/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules044873623/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=debug msg="Will try to rollback reboot the device" + time="2025-02-08T06:08:48Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08: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]:36072->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36072->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38141->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38141->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:51501->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51501->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48352->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48352->[::1]:53: read: connection refused" + time="2025-02-08T06:08:48Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules044873623/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules044873623/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:48Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules044873623/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules044873623/work/payloads/0000/tree" + time="2025-02-08T06:08:48Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:48Z" level=debug msg="Handling state after rollback reboot" + time="2025-02-08T06:08:48Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:48Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:33307->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33307->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55655->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55655->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37223->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37223->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55841->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55841->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules044873623/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules044873623/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules044873623/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules044873623/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:49Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:49Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:49Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules044873623/artifact_info file." + time="2025-02-08T06:08:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules044873623/artifact_info" + time="2025-02-08T06:08:49Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:49Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.11s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit state_test.go:4717: Killed in ArtifactCommit state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:37Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:37Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:37Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40601->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40601->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51352->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51352->[::1]:53: read: connection refused" - time="2024-01-06T23:39:37Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:37Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:37Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:37Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules278197274/device_type" - time="2024-01-06T23:39:37Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:37Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:37Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:37Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:37Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:37Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules278197274/artifact_info file." - time="2024-01-06T23:39:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules278197274/artifact_info" - time="2024-01-06T23:39:37Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:37Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules278197274/artifact_info" - time="2024-01-06T23:39:37Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules278197274/device_type" - time="2024-01-06T23:39:37Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:37Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules278197274/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules278197274/work/payloads/0000/tree" - time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules278197274/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules278197274/work/payloads/0000/tree" - time="2024-01-06T23:39:38Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:38Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:38Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:38Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38024->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38024->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60046->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60046->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58557->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58557->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39299->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39299->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules278197274/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules278197274/work/payloads/0000/tree" - time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules278197274/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules278197274/work/payloads/0000/tree" - time="2024-01-06T23:39:38Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:38Z" level=debug msg="Module needs custom reboot" - time="2024-01-06T23:39:38Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60273->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60273->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43056->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43056->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50831->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50831->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58064->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58064->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=debug msg="Handling reboot state" - time="2024-01-06T23:39:38Z" level=info msg="Rebooting device(s)" - time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules278197274/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules278197274/work/payloads/0000/tree" - time="2024-01-06T23:39:38Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules278197274/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules278197274/work/payloads/0000/tree" - time="2024-01-06T23:39:38Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:39:38Z" level=debug msg="Handling state after reboot" - time="2024-01-06T23:39:38Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58588->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58588->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34309->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34309->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43317->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43317->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46341->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46341->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=debug msg="Handle update commit state" - time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules278197274/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules278197274/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51127->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51127->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49507->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49507->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:49Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:49Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules078712780/device_type" + time="2025-02-08T06:08:49Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:49Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:49Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:49Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:49Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules078712780/artifact_info file." + time="2025-02-08T06:08:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules078712780/artifact_info" + time="2025-02-08T06:08:49Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:49Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules078712780/artifact_info" + time="2025-02-08T06:08:49Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules078712780/device_type" + time="2025-02-08T06:08:49Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:49Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules078712780/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules078712780/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules078712780/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules078712780/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:49Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35323->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35323->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45843->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45843->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42283->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42283->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57678->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57678->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules078712780/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules078712780/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules078712780/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules078712780/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:49Z" level=debug msg="Module needs custom reboot" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37311->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37311->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43744->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43744->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38477->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38477->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43387->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43387->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="Handling reboot state" + time="2025-02-08T06:08:49Z" level=info msg="Rebooting device(s)" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules078712780/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules078712780/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules078712780/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules078712780/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:08:49Z" level=debug msg="Handling state after reboot" + time="2025-02-08T06:08:49Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32948->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32948->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57373->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57373->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53725->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53725->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43829->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43829->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="Handle update commit state" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules078712780/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules078712780/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 8 (*app.updateRollbackState) - time="2024-01-06T23:39:38Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:38Z" level=info msg="Handling loaded state: update-commit" - time="2024-01-06T23:39:38Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:38Z" level=error msg="Mender shut down in state: update-commit" - time="2024-01-06T23:39:38Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:38Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36976->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36976->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55629->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55629->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules278197274/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules278197274/work/payloads/0000/tree" - time="2024-01-06T23:39:38Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-06T23:39:38Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57582->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57582->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60602->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60602->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53443->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53443->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37074->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37074->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules278197274/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules278197274/work/payloads/0000/tree" - time="2024-01-06T23:39:38Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules278197274/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules278197274/work/payloads/0000/tree" - time="2024-01-06T23:39:38Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:38Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-06T23:39:38Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44745->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44745->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38790->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38790->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56125->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56125->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47645->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47645->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules278197274/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules278197274/work/payloads/0000/tree" - time="2024-01-06T23:39:38Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules278197274/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules278197274/work/payloads/0000/tree" - time="2024-01-06T23:39:38Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:38Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:38Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:38Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules278197274/artifact_info file." - time="2024-01-06T23:39:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules278197274/artifact_info" - time="2024-01-06T23:39:38Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:38Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.09s) + time="2025-02-08T06:08:49Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:49Z" level=info msg="Handling loaded state: update-commit" + time="2025-02-08T06:08:49Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:49Z" level=error msg="Mender shut down in state: update-commit" + time="2025-02-08T06:08:49Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:49Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40241->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40241->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53559->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53559->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules078712780/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules078712780/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=debug msg="Will try to rollback reboot the device" + time="2025-02-08T06:08:49Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45076->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45076->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57883->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57883->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45700->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45700->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46883->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46883->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules078712780/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules078712780/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules078712780/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules078712780/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:49Z" level=debug msg="Handling state after rollback reboot" + time="2025-02-08T06:08:49Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59088->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59088->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35540->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35540->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43500->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43500->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38905->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38905->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules078712780/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules078712780/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules078712780/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules078712780/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:49Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:49Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:49Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules078712780/artifact_info file." + time="2025-02-08T06:08:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules078712780/artifact_info" + time="2025-02-08T06:08:49Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:49Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.04s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit,_no_reboot state_test.go:4717: Error in ArtifactCommit, no reboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:38Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:38Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37516->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37516->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52035->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52035->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:38Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:38Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:38Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules123753995/device_type" - time="2024-01-06T23:39:38Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:38Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:38Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:38Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:38Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules123753995/artifact_info file." - time="2024-01-06T23:39:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules123753995/artifact_info" - time="2024-01-06T23:39:38Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:38Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules123753995/artifact_info" - time="2024-01-06T23:39:38Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules123753995/device_type" - time="2024-01-06T23:39:38Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:38Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules123753995/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules123753995/work/payloads/0000/tree" - time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules123753995/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules123753995/work/payloads/0000/tree" - time="2024-01-06T23:39:38Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:38Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:38Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:38Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49056->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49056->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50559->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50559->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43190->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43190->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59285->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59285->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules123753995/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules123753995/work/payloads/0000/tree" - time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules123753995/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules123753995/work/payloads/0000/tree" - time="2024-01-06T23:39:38Z" level=debug msg="Update module output: No" - time="2024-01-06T23:39:38Z" level=debug msg="Module does not need reboot" - time="2024-01-06T23:39:38Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52348->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52348->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50545->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50545->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52520->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52520->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42434->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42434->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=debug msg="Handle update commit state" - time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules123753995/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules123753995/work/payloads/0000/tree" - time="2024-01-06T23:39:38Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:38Z" level=error msg="transient error: update commit failed: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:38Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:38Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35116->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35116->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56970->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56970->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49418->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49418->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35416->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35416->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules123753995/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules123753995/work/payloads/0000/tree" - time="2024-01-06T23:39:38Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46510->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46510->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47866->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47866->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33710->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33710->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34803->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34803->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules123753995/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules123753995/work/payloads/0000/tree" - time="2024-01-06T23:39:38Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules123753995/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules123753995/work/payloads/0000/tree" - time="2024-01-06T23:39:38Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:38Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:38Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:38Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules123753995/artifact_info file." - time="2024-01-06T23:39:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules123753995/artifact_info" - time="2024-01-06T23:39:38Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:38Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.25s) + time="2025-02-08T06:08:49Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35792->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35792->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43874->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43874->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:49Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:49Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules905776293/device_type" + time="2025-02-08T06:08:49Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:49Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:49Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:49Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:49Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules905776293/artifact_info file." + time="2025-02-08T06:08:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules905776293/artifact_info" + time="2025-02-08T06:08:49Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:49Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules905776293/artifact_info" + time="2025-02-08T06:08:49Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules905776293/device_type" + time="2025-02-08T06:08:49Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:49Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules905776293/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules905776293/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules905776293/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules905776293/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:49Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46870->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46870->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52070->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52070->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44493->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44493->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37051->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37051->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules905776293/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules905776293/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules905776293/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules905776293/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=debug msg="Update module output: No" + time="2025-02-08T06:08:49Z" level=debug msg="Module does not need reboot" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40685->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40685->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40041->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40041->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55374->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55374->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52709->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52709->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="Handle update commit state" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules905776293/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules905776293/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:49Z" level=error msg="transient error: update commit failed: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:49Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33356->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33356->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35157->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35157->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48679->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48679->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47575->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47575->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules905776293/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules905776293/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47407->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47407->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54882->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54882->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52524->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52524->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39316->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39316->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules905776293/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules905776293/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules905776293/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules905776293/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:49Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:49Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:49Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules905776293/artifact_info file." + time="2025-02-08T06:08:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules905776293/artifact_info" + time="2025-02-08T06:08:49Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:49Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.08s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit,_no_reboot state_test.go:4717: Killed in ArtifactCommit, no reboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:38Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:38Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52692->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52692->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48420->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48420->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:38Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:38Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:38Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules999168848/device_type" - time="2024-01-06T23:39:38Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:38Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:38Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:38Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:38Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules999168848/artifact_info file." - time="2024-01-06T23:39:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules999168848/artifact_info" - time="2024-01-06T23:39:38Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:38Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules999168848/artifact_info" - time="2024-01-06T23:39:38Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules999168848/device_type" - time="2024-01-06T23:39:38Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:38Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules999168848/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules999168848/work/payloads/0000/tree" - time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules999168848/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules999168848/work/payloads/0000/tree" - time="2024-01-06T23:39:38Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:38Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:38Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:38Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48602->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48602->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44973->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44973->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60899->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60899->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51813->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51813->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules999168848/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules999168848/work/payloads/0000/tree" - time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules999168848/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules999168848/work/payloads/0000/tree" - time="2024-01-06T23:39:38Z" level=debug msg="Update module output: No" - time="2024-01-06T23:39:38Z" level=debug msg="Module does not need reboot" - time="2024-01-06T23:39:38Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58958->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58958->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52019->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52019->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40916->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40916->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39307->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39307->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=debug msg="Handle update commit state" - time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules999168848/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules999168848/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37509->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37509->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43575->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43575->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:49Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:49Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules718010610/device_type" + time="2025-02-08T06:08:49Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:49Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:49Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:49Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:49Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules718010610/artifact_info file." + time="2025-02-08T06:08:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules718010610/artifact_info" + time="2025-02-08T06:08:49Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:49Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules718010610/artifact_info" + time="2025-02-08T06:08:49Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules718010610/device_type" + time="2025-02-08T06:08:49Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:49Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules718010610/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules718010610/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules718010610/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules718010610/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:49Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39661->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39661->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33951->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33951->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45878->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45878->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59000->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59000->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules718010610/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules718010610/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules718010610/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules718010610/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=debug msg="Update module output: No" + time="2025-02-08T06:08:49Z" level=debug msg="Module does not need reboot" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50813->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50813->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38289->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38289->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33057->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33057->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60747->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60747->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="Handle update commit state" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules718010610/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules718010610/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 5 (*app.updateRollbackState) - time="2024-01-06T23:39:38Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:38Z" level=info msg="Handling loaded state: update-commit" - time="2024-01-06T23:39:38Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:38Z" level=error msg="Mender shut down in state: update-commit" - time="2024-01-06T23:39:38Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:38Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48836->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48836->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56073->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56073->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules999168848/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules999168848/work/payloads/0000/tree" - time="2024-01-06T23:39:38Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57243->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57243->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53377->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53377->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49371->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49371->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40497->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40497->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules999168848/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules999168848/work/payloads/0000/tree" - time="2024-01-06T23:39:38Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules999168848/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules999168848/work/payloads/0000/tree" - time="2024-01-06T23:39:38Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:38Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:38Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:38Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules999168848/artifact_info file." - time="2024-01-06T23:39:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules999168848/artifact_info" - time="2024-01-06T23:39:38Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:38Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.09s) + time="2025-02-08T06:08:49Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:49Z" level=info msg="Handling loaded state: update-commit" + time="2025-02-08T06:08:49Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:49Z" level=error msg="Mender shut down in state: update-commit" + time="2025-02-08T06:08:49Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:49Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33682->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33682->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38252->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38252->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules718010610/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules718010610/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51085->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51085->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49182->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49182->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53860->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53860->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46853->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46853->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules718010610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules718010610/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules718010610/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules718010610/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:49Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:49Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:49Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules718010610/artifact_info file." + time="2025-02-08T06:08:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules718010610/artifact_info" + time="2025-02-08T06:08:49Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:49Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.03s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_Download_Enter_00_state,_no_rollback state_test.go:4717: Error in Download_Enter_00 state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:38Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:38Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49952->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49952->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45581->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45581->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="transient error: error calling enter script for (error) update-fetch state: error running enter state script(s) for Download_Enter state: statescript: error executing 'Download_Enter_00': 1 : exit status 1" - time="2024-01-06T23:39:38Z" level=info msg="State transition: update-fetch [Download_Enter] -> error [Error]" - time="2024-01-06T23:39:38Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Executing script: Download_Error_00" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=info msg="Handling error state, current error: transient error: error calling enter script for (error) update-fetch state: error running enter state script(s) for Download_Enter state: statescript: error executing 'Download_Enter_00': 1 : exit status 1" - time="2024-01-06T23:39:38Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules270605945/artifact_info file." - time="2024-01-06T23:39:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules270605945/artifact_info" - time="2024-01-06T23:39:38Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:38Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.04s) + time="2025-02-08T06:08:49Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37151->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37151->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35046->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35046->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" 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="2025-02-08T06:08:49Z" level=info msg="State transition: update-fetch [Download_Enter] -> error [Error]" + time="2025-02-08T06:08:49Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: Download_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" 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="2025-02-08T06:08:49Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules573769155/artifact_info file." + time="2025-02-08T06:08:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules573769155/artifact_info" + time="2025-02-08T06:08:49Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:49Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.01s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_Download_Enter_00_state,_no_rollback state_test.go:4717: Killed in Download_Enter_00 state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:38Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:38Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47786->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47786->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33452->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33452->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 1 (*app.idleState) - time="2024-01-06T23:39:38Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:38Z" level=info msg="Handling loaded state: update-fetch" - time="2024-01-06T23:39:38Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:38Z" level=error msg="Mender shut down in state: update-fetch" - time="2024-01-06T23:39:38Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules512163158/artifact_info file." - time="2024-01-06T23:39:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules512163158/artifact_info" - time="2024-01-06T23:39:38Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:38Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:49Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:49Z" level=info msg="Handling loaded state: update-fetch" + time="2025-02-08T06:08:49Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:49Z" level=error msg="Mender shut down in state: update-fetch" + time="2025-02-08T06:08:49Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules840850280/artifact_info file." + time="2025-02-08T06:08:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules840850280/artifact_info" + time="2025-02-08T06:08:49Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:49Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.00s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Enter_00_state,_no_rollback state_test.go:4717: Error in ArtifactInstall_Enter_00 state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:38Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:38Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:38Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53907->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53907->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38147->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38147->[::1]:53: read: connection refused" - time="2024-01-06T23:39:38Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:38Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:38Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:38Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules445339127/device_type" - time="2024-01-06T23:39:38Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:38Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:38Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:38Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:38Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:38Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:38Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules445339127/artifact_info file." - time="2024-01-06T23:39:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules445339127/artifact_info" - time="2024-01-06T23:39:38Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:38Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules445339127/artifact_info" - time="2024-01-06T23:39:38Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules445339127/device_type" - time="2024-01-06T23:39:38Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:38Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules445339127/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules445339127/work/payloads/0000/tree" - time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules445339127/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules445339127/work/payloads/0000/tree" - time="2024-01-06T23:39:39Z" level=debug msg="Update module output: No" - time="2024-01-06T23:39:39Z" level=debug msg="Module does not support rollback" - time="2024-01-06T23:39:39Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:39Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41557->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41557->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49012->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49012->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46161->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46161->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44245->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44245->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="transient error: error calling enter script for (error) update-install state: error running enter state script(s) for ArtifactInstall state: statescript: error executing 'ArtifactInstall_Enter_00': 1 : exit status 1" - time="2024-01-06T23:39:39Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" - time="2024-01-06T23:39:39Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:39Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48944->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48944->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38455->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38455->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59553->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59553->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56934->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56934->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules445339127/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules445339127/work/payloads/0000/tree" - time="2024-01-06T23:39:39Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules445339127/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules445339127/work/payloads/0000/tree" - time="2024-01-06T23:39:39Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:39Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:39Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:39Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.15s) + time="2025-02-08T06:08:49Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58577->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58577->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39291->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39291->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:49Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:49Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules061431409/device_type" + time="2025-02-08T06:08:49Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:49Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:49Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:49Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:49Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules061431409/artifact_info file." + time="2025-02-08T06:08:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules061431409/artifact_info" + time="2025-02-08T06:08:49Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:49Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules061431409/artifact_info" + time="2025-02-08T06:08:49Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules061431409/device_type" + time="2025-02-08T06:08:49Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:49Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules061431409/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules061431409/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules061431409/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules061431409/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=debug msg="Update module output: No" + time="2025-02-08T06:08:49Z" level=debug msg="Module does not support rollback" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53668->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53668->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44343->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44343->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45807->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45807->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54330->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54330->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" 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="2025-02-08T06:08:49Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:49Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57467->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57467->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43887->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43887->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54135->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54135->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42466->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42466->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules061431409/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules061431409/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules061431409/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules061431409/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:49Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:49Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:49Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.05s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Enter_00_state,_no_rollback state_test.go:4717: Killed in ArtifactInstall_Enter_00 state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:39Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:39Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48324->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48324->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53131->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53131->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:39Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:39Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:39Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules232221612/device_type" - time="2024-01-06T23:39:39Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:39Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:39Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:39Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:39Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules232221612/artifact_info file." - time="2024-01-06T23:39:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules232221612/artifact_info" - time="2024-01-06T23:39:39Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:39Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules232221612/artifact_info" - time="2024-01-06T23:39:39Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules232221612/device_type" - time="2024-01-06T23:39:39Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:39Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules232221612/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules232221612/work/payloads/0000/tree" - time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules232221612/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules232221612/work/payloads/0000/tree" - time="2024-01-06T23:39:39Z" level=debug msg="Update module output: No" - time="2024-01-06T23:39:39Z" level=debug msg="Module does not support rollback" - time="2024-01-06T23:39:39Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:39Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41783->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41783->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59821->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59821->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44348->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44348->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34860->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34860->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57786->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57786->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:49Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:49Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules192543406/device_type" + time="2025-02-08T06:08:49Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:49Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:49Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:49Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:49Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules192543406/artifact_info file." + time="2025-02-08T06:08:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules192543406/artifact_info" + time="2025-02-08T06:08:49Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:49Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules192543406/artifact_info" + time="2025-02-08T06:08:49Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules192543406/device_type" + time="2025-02-08T06:08:49Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:49Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules192543406/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules192543406/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules192543406/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules192543406/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=debug msg="Update module output: No" + time="2025-02-08T06:08:49Z" level=debug msg="Module does not support rollback" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39149->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39149->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35112->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35112->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57208->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57208->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 4 (*app.updateErrorState) - time="2024-01-06T23:39:39Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:39Z" level=info msg="Handling loaded state: update-install" - time="2024-01-06T23:39:39Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:39Z" level=error msg="Mender shut down in state: update-install" - time="2024-01-06T23:39:39Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" - time="2024-01-06T23:39:39Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:39Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38431->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38431->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52922->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52922->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules232221612/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules232221612/work/payloads/0000/tree" - time="2024-01-06T23:39:39Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules232221612/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules232221612/work/payloads/0000/tree" - time="2024-01-06T23:39:39Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:39Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:39Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:39Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.05s) + time="2025-02-08T06:08:49Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:49Z" level=info msg="Handling loaded state: update-install" + time="2025-02-08T06:08:49Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:49Z" level=error msg="Mender shut down in state: update-install" + time="2025-02-08T06:08:49Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" + time="2025-02-08T06:08:49Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:49Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52027->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52027->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38369->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38369->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules192543406/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules192543406/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules192543406/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules192543406/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:49Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:49Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:49Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.02s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Enter_00 state_test.go:4717: Error in ArtifactInstall_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:39Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:39Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33330->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33330->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35450->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35450->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:39Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:39Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:39Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules539786245/device_type" - time="2024-01-06T23:39:39Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:39Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:39Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:39Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:39Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules539786245/artifact_info file." - time="2024-01-06T23:39:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules539786245/artifact_info" - time="2024-01-06T23:39:39Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:39Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules539786245/artifact_info" - time="2024-01-06T23:39:39Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules539786245/device_type" - time="2024-01-06T23:39:39Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:39Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules539786245/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules539786245/work/payloads/0000/tree" - time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules539786245/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules539786245/work/payloads/0000/tree" - time="2024-01-06T23:39:39Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:39Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:39Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:39Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42125->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42125->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51110->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51110->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37384->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37384->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46288->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46288->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="transient error: error calling enter script for (error) update-install state: error running enter state script(s) for ArtifactInstall state: statescript: error executing 'ArtifactInstall_Enter_00': 1 : exit status 1" - time="2024-01-06T23:39:39Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:39Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32866->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32866->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44604->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44604->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38619->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38619->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33678->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33678->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules539786245/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules539786245/work/payloads/0000/tree" - time="2024-01-06T23:39:39Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48797->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48797->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51562->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51562->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58215->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58215->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46344->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46344->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules539786245/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules539786245/work/payloads/0000/tree" - time="2024-01-06T23:39:39Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules539786245/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules539786245/work/payloads/0000/tree" - time="2024-01-06T23:39:39Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:39Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:39Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:39Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules539786245/artifact_info file." - time="2024-01-06T23:39:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules539786245/artifact_info" - time="2024-01-06T23:39:39Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:39Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.20s) + time="2025-02-08T06:08:49Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37898->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37898->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45100->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45100->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:49Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:49Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules056033839/device_type" + time="2025-02-08T06:08:49Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:49Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:49Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:49Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:49Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules056033839/artifact_info file." + time="2025-02-08T06:08:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules056033839/artifact_info" + time="2025-02-08T06:08:49Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:49Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules056033839/artifact_info" + time="2025-02-08T06:08:49Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules056033839/device_type" + time="2025-02-08T06:08:49Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:49Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules056033839/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules056033839/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules056033839/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules056033839/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:49Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46189->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46189->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41998->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41998->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50848->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50848->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47913->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47913->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" 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="2025-02-08T06:08:49Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:49Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59480->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59480->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39779->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39779->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50835->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50835->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33893->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33893->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules056033839/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules056033839/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45865->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45865->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57638->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57638->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43964->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43964->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33134->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33134->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules056033839/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules056033839/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules056033839/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules056033839/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:49Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:49Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:49Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules056033839/artifact_info file." + time="2025-02-08T06:08:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules056033839/artifact_info" + time="2025-02-08T06:08:49Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:49Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.06s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Enter_00 state_test.go:4717: Killed in ArtifactInstall_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:39Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:39Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47740->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47740->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50749->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50749->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:39Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:39Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:39Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules203234770/device_type" - time="2024-01-06T23:39:39Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:39Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:39Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:39Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:39Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules203234770/artifact_info file." - time="2024-01-06T23:39:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules203234770/artifact_info" - time="2024-01-06T23:39:39Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:39Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules203234770/artifact_info" - time="2024-01-06T23:39:39Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules203234770/device_type" - time="2024-01-06T23:39:39Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:39Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules203234770/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules203234770/work/payloads/0000/tree" - time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules203234770/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules203234770/work/payloads/0000/tree" - time="2024-01-06T23:39:39Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:39Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:39Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:39Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52362->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52362->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40549->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40549->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53811->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53811->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52751->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52751->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46965->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46965->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:49Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:49Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules007708740/device_type" + time="2025-02-08T06:08:49Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:49Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:49Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:49Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:49Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules007708740/artifact_info file." + time="2025-02-08T06:08:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules007708740/artifact_info" + time="2025-02-08T06:08:49Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:49Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules007708740/artifact_info" + time="2025-02-08T06:08:49Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules007708740/device_type" + time="2025-02-08T06:08:49Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:49Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules007708740/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules007708740/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules007708740/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules007708740/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:49Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37111->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37111->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34853->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34853->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47438->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47438->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 4 (*app.updateRollbackState) - time="2024-01-06T23:39:39Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:39Z" level=info msg="Handling loaded state: update-install" - time="2024-01-06T23:39:39Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:39Z" level=error msg="Mender shut down in state: update-install" - time="2024-01-06T23:39:39Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:39Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56929->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56929->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53472->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53472->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules203234770/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules203234770/work/payloads/0000/tree" - time="2024-01-06T23:39:39Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34349->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34349->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57072->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57072->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33494->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33494->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58991->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58991->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules203234770/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules203234770/work/payloads/0000/tree" - time="2024-01-06T23:39:39Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules203234770/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules203234770/work/payloads/0000/tree" - time="2024-01-06T23:39:39Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:39Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:39Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:39Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules203234770/artifact_info file." - time="2024-01-06T23:39:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules203234770/artifact_info" - time="2024-01-06T23:39:39Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:39Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.08s) + time="2025-02-08T06:08:49Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:49Z" level=info msg="Handling loaded state: update-install" + time="2025-02-08T06:08:49Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:49Z" level=error msg="Mender shut down in state: update-install" + time="2025-02-08T06:08:49Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:49Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52669->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52669->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35658->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35658->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules007708740/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules007708740/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46796->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46796->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38028->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38028->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41264->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41264->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34174->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34174->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules007708740/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules007708740/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules007708740/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules007708740/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:49Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:49Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:49Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules007708740/artifact_info file." + time="2025-02-08T06:08:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules007708740/artifact_info" + time="2025-02-08T06:08:49Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:49Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.03s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot_Enter_00 state_test.go:4717: Error in ArtifactReboot_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:39Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:39Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51728->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51728->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40065->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40065->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:39Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:39Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:39Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules364788771/device_type" - time="2024-01-06T23:39:39Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:39Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:39Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:39Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:39Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules364788771/artifact_info file." - time="2024-01-06T23:39:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules364788771/artifact_info" - time="2024-01-06T23:39:39Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:39Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules364788771/artifact_info" - time="2024-01-06T23:39:39Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules364788771/device_type" - time="2024-01-06T23:39:39Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:39Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:39Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules364788771/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules364788771/work/payloads/0000/tree" - time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules364788771/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules364788771/work/payloads/0000/tree" - time="2024-01-06T23:39:39Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:39Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:39Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:39Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39286->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39286->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40799->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40799->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54027->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54027->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43105->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43105->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules364788771/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules364788771/work/payloads/0000/tree" - time="2024-01-06T23:39:39Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:39:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules364788771/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules364788771/work/payloads/0000/tree" - time="2024-01-06T23:39:39Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:39Z" level=debug msg="Module needs custom reboot" - time="2024-01-06T23:39:39Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51006->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51006->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58557->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58557->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51341->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51341->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49213->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49213->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="transient error: error calling enter script for (error) reboot state: error running enter state script(s) for ArtifactReboot_Enter state: statescript: error executing 'ArtifactReboot_Enter_00': 1 : exit status 1" - time="2024-01-06T23:39:39Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:39Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44339->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44339->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60933->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60933->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:39Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36848->[::1]:53: read: connection refused" - time="2024-01-06T23:39:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36848->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49251->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49251->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules364788771/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules364788771/work/payloads/0000/tree" - time="2024-01-06T23:39:40Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-06T23:39:40Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46279->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46279->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55942->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55942->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45865->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45865->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44217->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44217->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules364788771/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules364788771/work/payloads/0000/tree" - time="2024-01-06T23:39:40Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules364788771/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules364788771/work/payloads/0000/tree" - time="2024-01-06T23:39:40Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:40Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-06T23:39:40Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55821->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55821->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44636->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44636->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47335->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47335->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53363->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53363->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules364788771/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules364788771/work/payloads/0000/tree" - time="2024-01-06T23:39:40Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:40Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules364788771/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules364788771/work/payloads/0000/tree" - time="2024-01-06T23:39:40Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:40Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:40Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:40Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:40Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules364788771/artifact_info file." - time="2024-01-06T23:39:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules364788771/artifact_info" - time="2024-01-06T23:39:40Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:40Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.28s) + time="2025-02-08T06:08:49Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40895->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40895->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49987->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49987->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:49Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:49Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules970468989/device_type" + time="2025-02-08T06:08:49Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:49Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:49Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:49Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:49Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules970468989/artifact_info file." + time="2025-02-08T06:08:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules970468989/artifact_info" + time="2025-02-08T06:08:49Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:49Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules970468989/artifact_info" + time="2025-02-08T06:08:49Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules970468989/device_type" + time="2025-02-08T06:08:49Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:49Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules970468989/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules970468989/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules970468989/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules970468989/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:49Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43354->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43354->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52895->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52895->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46552->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46552->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52160->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52160->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules970468989/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules970468989/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules970468989/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules970468989/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:49Z" level=debug msg="Module needs custom reboot" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58487->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58487->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37777->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37777->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48413->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48413->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40411->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40411->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" 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="2025-02-08T06:08:49Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:49Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51187->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51187->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51860->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51860->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59436->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59436->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38186->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38186->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules970468989/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules970468989/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=debug msg="Will try to rollback reboot the device" + time="2025-02-08T06:08:49Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51315->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51315->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57603->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57603->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43471->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43471->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39887->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39887->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules970468989/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules970468989/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules970468989/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules970468989/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:49Z" level=debug msg="Handling state after rollback reboot" + time="2025-02-08T06:08:49Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53385->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53385->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56977->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56977->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44066->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44066->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33922->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33922->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules970468989/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules970468989/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules970468989/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules970468989/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:49Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:49Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:49Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules970468989/artifact_info file." + time="2025-02-08T06:08:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules970468989/artifact_info" + time="2025-02-08T06:08:49Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:49Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.10s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot_Enter_00 state_test.go:4717: Killed in ArtifactReboot_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:40Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:40Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:40Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:40Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40587->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40587->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59804->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59804->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:40Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:40Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:40Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules208612680/device_type" - time="2024-01-06T23:39:40Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:40Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:40Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:40Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:40Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules208612680/artifact_info file." - time="2024-01-06T23:39:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules208612680/artifact_info" - time="2024-01-06T23:39:40Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:40Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules208612680/artifact_info" - time="2024-01-06T23:39:40Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules208612680/device_type" - time="2024-01-06T23:39:40Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:40Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules208612680/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules208612680/work/payloads/0000/tree" - time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules208612680/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules208612680/work/payloads/0000/tree" - time="2024-01-06T23:39:40Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:40Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:40Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:40Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:40Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55809->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55809->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36242->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36242->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41751->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41751->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56128->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56128->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules208612680/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules208612680/work/payloads/0000/tree" - time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules208612680/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules208612680/work/payloads/0000/tree" - time="2024-01-06T23:39:40Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:40Z" level=debug msg="Module needs custom reboot" - time="2024-01-06T23:39:40Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42010->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42010->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36266->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36266->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58025->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58025->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35259->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35259->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60273->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60273->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:49Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:49Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules736121770/device_type" + time="2025-02-08T06:08:49Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:49Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:49Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:49Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:49Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules736121770/artifact_info file." + time="2025-02-08T06:08:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules736121770/artifact_info" + time="2025-02-08T06:08:49Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:49Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules736121770/artifact_info" + time="2025-02-08T06:08:49Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules736121770/device_type" + time="2025-02-08T06:08:49Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:49Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:49Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules736121770/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules736121770/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules736121770/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules736121770/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:49Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41771->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41771->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59597->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59597->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56180->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56180->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51017->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51017->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules736121770/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules736121770/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules736121770/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules736121770/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:49Z" level=debug msg="Module needs custom reboot" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36819->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36819->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53817->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53817->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53062->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53062->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 5 (*app.updateVerifyRebootState) - time="2024-01-06T23:39:40Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:40Z" level=info msg="Handling loaded state: reboot" - time="2024-01-06T23:39:40Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:40Z" level=info msg="State transition: init [none] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules208612680/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules208612680/work/payloads/0000/tree" - time="2024-01-06T23:39:40Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:39:40Z" level=debug msg="Handling state after reboot" - time="2024-01-06T23:39:40Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37296->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37296->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38620->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38620->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37253->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37253->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57789->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57789->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=debug msg="Handle update commit state" - time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules208612680/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules208612680/work/payloads/0000/tree" - time="2024-01-06T23:39:40Z" level=debug msg="Committing new artifact name: artifact-name" - time="2024-01-06T23:39:40Z" level=debug msg="Committing new artifact group name: " - time="2024-01-06T23:39:40Z" level=debug msg="Committing new artifact type-info provides" - time="2024-01-06T23:39:40Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" - time="2024-01-06T23:39:40Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2024-01-06T23:39:40Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:40Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules208612680/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules208612680/work/payloads/0000/tree" - time="2024-01-06T23:39:40Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" - time="2024-01-06T23:39:40Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:40Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:40Z" level=debug msg="Returning artifact name artifact-name from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.04s) + time="2025-02-08T06:08:49Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:49Z" level=info msg="Handling loaded state: reboot" + time="2025-02-08T06:08:49Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:49Z" level=info msg="State transition: init [none] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules736121770/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules736121770/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:08:49Z" level=debug msg="Handling state after reboot" + time="2025-02-08T06:08:49Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36359->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36359->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60554->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60554->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52239->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52239->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36549->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36549->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=debug msg="Handle update commit state" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules736121770/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules736121770/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=debug msg="Committing new artifact name: artifact-name" + time="2025-02-08T06:08:49Z" level=debug msg="Committing new artifact group name: " + time="2025-02-08T06:08:49Z" level=debug msg="Committing new artifact type-info provides" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:49Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:49Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules736121770/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules736121770/work/payloads/0000/tree" + time="2025-02-08T06:08:49Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" + time="2025-02-08T06:08:49Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:49Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:49Z" level=debug msg="Returning artifact name artifact-name from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.02s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback_Enter_00 state_test.go:4717: Error in ArtifactRollback_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:40Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:40Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:40Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:40Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45734->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45734->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43690->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43690->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:40Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:40Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:40Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules820841425/device_type" - time="2024-01-06T23:39:40Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:40Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:40Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:40Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:40Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules820841425/artifact_info file." - time="2024-01-06T23:39:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules820841425/artifact_info" - time="2024-01-06T23:39:40Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:40Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules820841425/artifact_info" - time="2024-01-06T23:39:40Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules820841425/device_type" - time="2024-01-06T23:39:40Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:40Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules820841425/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules820841425/work/payloads/0000/tree" - time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules820841425/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules820841425/work/payloads/0000/tree" - time="2024-01-06T23:39:40Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:40Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:40Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:40Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:40Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41081->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41081->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60643->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60643->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50202->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50202->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60011->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60011->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules820841425/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules820841425/work/payloads/0000/tree" - time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules820841425/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules820841425/work/payloads/0000/tree" - time="2024-01-06T23:39:40Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:40Z" level=debug msg="Module needs custom reboot" - time="2024-01-06T23:39:40Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54639->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54639->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39096->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39096->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59237->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59237->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44326->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44326->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=debug msg="Handling reboot state" - time="2024-01-06T23:39:40Z" level=info msg="Rebooting device(s)" - time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules820841425/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules820841425/work/payloads/0000/tree" - time="2024-01-06T23:39:40Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules820841425/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules820841425/work/payloads/0000/tree" - time="2024-01-06T23:39:40Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:40Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:40Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:40Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53357->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53357->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45483->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45483->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52333->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52333->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Ignoring error executing 'ArtifactRollback_Enter_00': 1: exit status 1" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55515->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55515->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules820841425/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules820841425/work/payloads/0000/tree" - time="2024-01-06T23:39:40Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-06T23:39:40Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41456->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41456->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44716->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44716->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37984->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37984->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58697->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58697->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules820841425/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules820841425/work/payloads/0000/tree" - time="2024-01-06T23:39:40Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules820841425/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules820841425/work/payloads/0000/tree" - time="2024-01-06T23:39:40Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:40Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-06T23:39:40Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37967->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37967->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56958->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56958->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53350->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53350->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47088->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47088->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules820841425/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules820841425/work/payloads/0000/tree" - time="2024-01-06T23:39:40Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:40Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules820841425/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules820841425/work/payloads/0000/tree" - time="2024-01-06T23:39:40Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:40Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:40Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:40Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:40Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules820841425/artifact_info file." - time="2024-01-06T23:39:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules820841425/artifact_info" - time="2024-01-06T23:39:40Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:40Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.24s) + time="2025-02-08T06:08:49Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:49Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:49Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36446->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36446->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45921->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45921->[::1]:53: read: connection refused" + time="2025-02-08T06:08:49Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:49Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:50Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules725816027/device_type" + time="2025-02-08T06:08:50Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:50Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:50Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:50Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:50Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules725816027/artifact_info file." + time="2025-02-08T06:08:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules725816027/artifact_info" + time="2025-02-08T06:08:50Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:50Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules725816027/artifact_info" + time="2025-02-08T06:08:50Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules725816027/device_type" + time="2025-02-08T06:08:50Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:50Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725816027/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules725816027/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725816027/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules725816027/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:50Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:59262->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59262->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39421->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39421->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:40360->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40360->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59139->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59139->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725816027/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules725816027/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725816027/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules725816027/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:50Z" level=debug msg="Module needs custom reboot" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08: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]:35164->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35164->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:49592->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:49592->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08: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]:58747->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58747->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44716->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44716->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="Handling reboot state" + time="2025-02-08T06:08:50Z" level=info msg="Rebooting device(s)" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725816027/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules725816027/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725816027/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules725816027/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:50Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:50Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:50Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08: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]:34218->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34218->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47484->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47484->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08: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]:47257->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47257->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=error msg="statescript: Ignoring error executing 'ArtifactRollback_Enter_00': 1: exit status 1" + time="2025-02-08T06:08: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]:48249->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48249->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725816027/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules725816027/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=debug msg="Will try to rollback reboot the device" + time="2025-02-08T06:08:50Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08: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]:40691->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40691->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41306->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41306->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:56495->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:56495->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58830->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58830->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725816027/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725816027/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725816027/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725816027/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:50Z" level=debug msg="Handling state after rollback reboot" + time="2025-02-08T06:08:50Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:35290->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35290->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:49635->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:49635->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:36577->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36577->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44284->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44284->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725816027/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules725816027/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725816027/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules725816027/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:50Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:50Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:50Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules725816027/artifact_info file." + time="2025-02-08T06:08:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules725816027/artifact_info" + time="2025-02-08T06:08:50Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:50Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.10s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback_Enter_00 state_test.go:4717: Killed in ArtifactRollback_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:40Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:40Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:40Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:40Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36635->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36635->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55580->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55580->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:40Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:40Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:40Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules502684046/device_type" - time="2024-01-06T23:39:40Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:40Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:40Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:40Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:40Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules502684046/artifact_info file." - time="2024-01-06T23:39:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules502684046/artifact_info" - time="2024-01-06T23:39:40Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:40Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules502684046/artifact_info" - time="2024-01-06T23:39:40Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules502684046/device_type" - time="2024-01-06T23:39:40Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:40Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:40Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules502684046/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules502684046/work/payloads/0000/tree" - time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules502684046/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules502684046/work/payloads/0000/tree" - time="2024-01-06T23:39:40Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:40Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:40Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:40Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:40Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52170->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52170->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60624->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60624->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35135->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35135->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52178->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52178->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules502684046/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules502684046/work/payloads/0000/tree" - time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules502684046/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules502684046/work/payloads/0000/tree" - time="2024-01-06T23:39:40Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:40Z" level=debug msg="Module needs custom reboot" - time="2024-01-06T23:39:40Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55324->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55324->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34009->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34009->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54366->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54366->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46558->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46558->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=debug msg="Handling reboot state" - time="2024-01-06T23:39:40Z" level=info msg="Rebooting device(s)" - time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules502684046/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules502684046/work/payloads/0000/tree" - time="2024-01-06T23:39:40Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules502684046/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules502684046/work/payloads/0000/tree" - time="2024-01-06T23:39:40Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:40Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:40Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:40Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36940->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36940->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37591->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37591->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47300->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47300->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:59027->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59027->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34479->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34479->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:50Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:50Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules103339616/device_type" + time="2025-02-08T06:08:50Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:50Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:50Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:50Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:50Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules103339616/artifact_info file." + time="2025-02-08T06:08:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules103339616/artifact_info" + time="2025-02-08T06:08:50Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:50Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules103339616/artifact_info" + time="2025-02-08T06:08:50Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules103339616/device_type" + time="2025-02-08T06:08:50Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:50Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules103339616/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules103339616/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules103339616/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules103339616/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:50Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:54987->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54987->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35306->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35306->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:53797->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:53797->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35215->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35215->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules103339616/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules103339616/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules103339616/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules103339616/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:50Z" level=debug msg="Module needs custom reboot" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08: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]:52476->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52476->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33570->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33570->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08: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]:55768->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55768->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:53476->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:53476->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="Handling reboot state" + time="2025-02-08T06:08:50Z" level=info msg="Rebooting device(s)" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules103339616/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules103339616/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules103339616/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules103339616/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:50Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:50Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:50Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08: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]:48311->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48311->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37231->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37231->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08: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]:43675->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43675->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 7 (*app.updateRollbackState) - time="2024-01-06T23:39:40Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:40Z" level=info msg="Handling loaded state: rollback" - time="2024-01-06T23:39:40Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:40Z" level=error msg="Mender shut down in state: rollback" - time="2024-01-06T23:39:40Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:40Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42287->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42287->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46782->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46782->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules502684046/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules502684046/work/payloads/0000/tree" - time="2024-01-06T23:39:40Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-06T23:39:40Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44015->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44015->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59792->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59792->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:40Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43395->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43395->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47775->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47775->[::1]:53: read: connection refused" - time="2024-01-06T23:39:40Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:40Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules502684046/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules502684046/work/payloads/0000/tree" - time="2024-01-06T23:39:41Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules502684046/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules502684046/work/payloads/0000/tree" - time="2024-01-06T23:39:41Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:41Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-06T23:39:41Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45106->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45106->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45933->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45933->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37472->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37472->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47992->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47992->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules502684046/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules502684046/work/payloads/0000/tree" - time="2024-01-06T23:39:41Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:41Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules502684046/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules502684046/work/payloads/0000/tree" - time="2024-01-06T23:39:41Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:41Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:41Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:41Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:41Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules502684046/artifact_info file." - time="2024-01-06T23:39:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules502684046/artifact_info" - time="2024-01-06T23:39:41Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:41Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.12s) + time="2025-02-08T06:08:50Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:50Z" level=info msg="Handling loaded state: rollback" + time="2025-02-08T06:08:50Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:50Z" level=error msg="Mender shut down in state: rollback" + time="2025-02-08T06:08:50Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:50Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08: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]:52466->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52466->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38433->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38433->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules103339616/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules103339616/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=debug msg="Will try to rollback reboot the device" + time="2025-02-08T06:08:50Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08: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]:37458->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37458->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48286->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48286->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:52525->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52525->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38735->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38735->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules103339616/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules103339616/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules103339616/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules103339616/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:50Z" level=debug msg="Handling state after rollback reboot" + time="2025-02-08T06:08:50Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:57285->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:57285->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44470->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44470->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:52651->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52651->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:45850->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:45850->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules103339616/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules103339616/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules103339616/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules103339616/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:50Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:50Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:50Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules103339616/artifact_info file." + time="2025-02-08T06:08:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules103339616/artifact_info" + time="2025-02-08T06:08:50Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:50Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.05s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot_Enter_00 state_test.go:4717: Error in ArtifactRollbackReboot_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:41Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:41Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:41Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:41Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37507->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37507->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57716->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57716->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:41Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:41Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:41Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules183092367/device_type" - time="2024-01-06T23:39:41Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:41Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:41Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:41Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:41Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules183092367/artifact_info file." - time="2024-01-06T23:39:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules183092367/artifact_info" - time="2024-01-06T23:39:41Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:41Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules183092367/artifact_info" - time="2024-01-06T23:39:41Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules183092367/device_type" - time="2024-01-06T23:39:41Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:41Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules183092367/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules183092367/work/payloads/0000/tree" - time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules183092367/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules183092367/work/payloads/0000/tree" - time="2024-01-06T23:39:41Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:41Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:41Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:41Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:41Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46852->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46852->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37853->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37853->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44952->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44952->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52382->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52382->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules183092367/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules183092367/work/payloads/0000/tree" - time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules183092367/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules183092367/work/payloads/0000/tree" - time="2024-01-06T23:39:41Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:41Z" level=debug msg="Module needs custom reboot" - time="2024-01-06T23:39:41Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34303->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34303->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52622->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52622->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44877->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44877->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54267->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54267->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=debug msg="Handling reboot state" - time="2024-01-06T23:39:41Z" level=info msg="Rebooting device(s)" - time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules183092367/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules183092367/work/payloads/0000/tree" - time="2024-01-06T23:39:41Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules183092367/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules183092367/work/payloads/0000/tree" - time="2024-01-06T23:39:41Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:41Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:41Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:41Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42444->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42444->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37519->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37519->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47119->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47119->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48620->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48620->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules183092367/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules183092367/work/payloads/0000/tree" - time="2024-01-06T23:39:41Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-06T23:39:41Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57592->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57592->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55039->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55039->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37382->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37382->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Ignoring error executing 'ArtifactRollbackReboot_Enter_00': 1: exit status 1" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60926->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60926->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules183092367/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules183092367/work/payloads/0000/tree" - time="2024-01-06T23:39:41Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules183092367/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules183092367/work/payloads/0000/tree" - time="2024-01-06T23:39:41Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:41Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-06T23:39:41Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37434->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37434->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55282->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55282->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52178->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52178->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56744->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56744->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules183092367/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules183092367/work/payloads/0000/tree" - time="2024-01-06T23:39:41Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:41Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules183092367/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules183092367/work/payloads/0000/tree" - time="2024-01-06T23:39:41Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:41Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:41Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:41Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:41Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules183092367/artifact_info file." - time="2024-01-06T23:39:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules183092367/artifact_info" - time="2024-01-06T23:39:41Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:41Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.33s) + time="2025-02-08T06:08:50Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:32788->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:32788->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42807->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42807->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:50Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:50Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules326358217/device_type" + time="2025-02-08T06:08:50Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:50Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:50Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:50Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:50Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules326358217/artifact_info file." + time="2025-02-08T06:08:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules326358217/artifact_info" + time="2025-02-08T06:08:50Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:50Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules326358217/artifact_info" + time="2025-02-08T06:08:50Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules326358217/device_type" + time="2025-02-08T06:08:50Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:50Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules326358217/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules326358217/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules326358217/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules326358217/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:50Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:57549->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:57549->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37527->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37527->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:39246->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39246->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59631->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59631->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules326358217/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules326358217/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules326358217/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules326358217/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:50Z" level=debug msg="Module needs custom reboot" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08: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]:35779->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35779->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39633->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39633->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08: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]:43072->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43072->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51343->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51343->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="Handling reboot state" + time="2025-02-08T06:08:50Z" level=info msg="Rebooting device(s)" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules326358217/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules326358217/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules326358217/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules326358217/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:50Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:50Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:50Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08: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]:52104->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52104->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37620->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37620->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08: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]:33432->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33432->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42989->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42989->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules326358217/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules326358217/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=debug msg="Will try to rollback reboot the device" + time="2025-02-08T06:08:50Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08: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]:49852->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:49852->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:56623->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:56623->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:56590->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:56590->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=error msg="statescript: Ignoring error executing 'ArtifactRollbackReboot_Enter_00': 1: exit status 1" + time="2025-02-08T06:08: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]:58100->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58100->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules326358217/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules326358217/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules326358217/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules326358217/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:50Z" level=debug msg="Handling state after rollback reboot" + time="2025-02-08T06:08:50Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:38148->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38148->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60452->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60452->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:35748->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35748->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:50600->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:50600->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules326358217/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules326358217/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules326358217/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules326358217/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:50Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:50Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:50Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules326358217/artifact_info file." + time="2025-02-08T06:08:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules326358217/artifact_info" + time="2025-02-08T06:08:50Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:50Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.10s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot_Enter_00 state_test.go:4717: Killed in ArtifactRollbackReboot_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:41Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:41Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:41Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:41Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34672->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34672->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56031->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56031->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:41Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:41Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:41Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules376945188/device_type" - time="2024-01-06T23:39:41Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:41Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:41Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:41Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:41Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules376945188/artifact_info file." - time="2024-01-06T23:39:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules376945188/artifact_info" - time="2024-01-06T23:39:41Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:41Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules376945188/artifact_info" - time="2024-01-06T23:39:41Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules376945188/device_type" - time="2024-01-06T23:39:41Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:41Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules376945188/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules376945188/work/payloads/0000/tree" - time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules376945188/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules376945188/work/payloads/0000/tree" - time="2024-01-06T23:39:41Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:41Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:41Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:41Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:41Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37469->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37469->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53660->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53660->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45528->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45528->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41906->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41906->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules376945188/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules376945188/work/payloads/0000/tree" - time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules376945188/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules376945188/work/payloads/0000/tree" - time="2024-01-06T23:39:41Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:41Z" level=debug msg="Module needs custom reboot" - time="2024-01-06T23:39:41Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60360->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60360->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58735->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58735->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36164->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36164->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52861->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52861->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=debug msg="Handling reboot state" - time="2024-01-06T23:39:41Z" level=info msg="Rebooting device(s)" - time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules376945188/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules376945188/work/payloads/0000/tree" - time="2024-01-06T23:39:41Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules376945188/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules376945188/work/payloads/0000/tree" - time="2024-01-06T23:39:41Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:41Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:41Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:41Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47353->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47353->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49871->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49871->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48350->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48350->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34497->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34497->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules376945188/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules376945188/work/payloads/0000/tree" - time="2024-01-06T23:39:41Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-06T23:39:41Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45067->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45067->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49013->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49013->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47769->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47769->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:43049->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43049->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42693->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42693->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:50Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:50Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules284885478/device_type" + time="2025-02-08T06:08:50Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:50Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:50Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:50Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:50Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules284885478/artifact_info file." + time="2025-02-08T06:08:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules284885478/artifact_info" + time="2025-02-08T06:08:50Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:50Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules284885478/artifact_info" + time="2025-02-08T06:08:50Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules284885478/device_type" + time="2025-02-08T06:08:50Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:50Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules284885478/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules284885478/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules284885478/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules284885478/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:50Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:47552->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47552->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:53930->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:53930->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:35691->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35691->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40823->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40823->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules284885478/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules284885478/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules284885478/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules284885478/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:50Z" level=debug msg="Module needs custom reboot" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08: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]:58328->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58328->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35180->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35180->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08: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]:38709->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38709->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59707->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59707->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="Handling reboot state" + time="2025-02-08T06:08:50Z" level=info msg="Rebooting device(s)" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules284885478/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules284885478/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules284885478/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules284885478/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:50Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:50Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:50Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08: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]:44704->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44704->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34011->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34011->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08: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]:33642->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33642->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34818->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34818->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules284885478/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules284885478/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=debug msg="Will try to rollback reboot the device" + time="2025-02-08T06:08:50Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08: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]:43227->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43227->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44039->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44039->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:36777->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36777->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 8 (*app.updateVerifyRollbackRebootState) - time="2024-01-06T23:39:41Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:41Z" level=info msg="Handling loaded state: rollback-reboot" - time="2024-01-06T23:39:41Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:41Z" level=info msg="Mender shut down in state: rollback-reboot" - time="2024-01-06T23:39:41Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:41Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules376945188/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules376945188/work/payloads/0000/tree" - time="2024-01-06T23:39:41Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:41Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-06T23:39:41Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33955->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33955->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41861->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41861->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45232->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45232->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44546->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44546->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules376945188/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules376945188/work/payloads/0000/tree" - time="2024-01-06T23:39:41Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:41Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules376945188/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules376945188/work/payloads/0000/tree" - time="2024-01-06T23:39:41Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:41Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:41Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:41Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:41Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules376945188/artifact_info file." - time="2024-01-06T23:39:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules376945188/artifact_info" - time="2024-01-06T23:39:41Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:41Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.06s) + time="2025-02-08T06:08:50Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:50Z" level=info msg="Handling loaded state: rollback-reboot" + time="2025-02-08T06:08:50Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:50Z" level=info msg="Mender shut down in state: rollback-reboot" + time="2025-02-08T06:08:50Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:50Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules284885478/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules284885478/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:50Z" level=debug msg="Handling state after rollback reboot" + time="2025-02-08T06:08:50Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:55103->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55103->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47545->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47545->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:43366->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43366->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55965->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55965->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules284885478/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules284885478/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules284885478/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules284885478/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:50Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:50Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:50Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules284885478/artifact_info file." + time="2025-02-08T06:08:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules284885478/artifact_info" + time="2025-02-08T06:08:50Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:50Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.02s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure_Enter_00 state_test.go:4717: Error in ArtifactFailure_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:41Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:41Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:41Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:41Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33350->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33350->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47922->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47922->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:41Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:41Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:41Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules207462877/device_type" - time="2024-01-06T23:39:41Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:41Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:41Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:41Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:41Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules207462877/artifact_info file." - time="2024-01-06T23:39:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules207462877/artifact_info" - time="2024-01-06T23:39:41Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:41Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules207462877/artifact_info" - time="2024-01-06T23:39:41Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules207462877/device_type" - time="2024-01-06T23:39:41Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:41Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:41Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207462877/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules207462877/work/payloads/0000/tree" - time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207462877/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules207462877/work/payloads/0000/tree" - time="2024-01-06T23:39:41Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:41Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:41Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:41Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:41Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52110->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52110->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49025->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49025->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59087->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59087->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40079->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40079->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207462877/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules207462877/work/payloads/0000/tree" - time="2024-01-06T23:39:41Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:41Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:41Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:41Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46649->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46649->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34540->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34540->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:41Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52958->[::1]:53: read: connection refused" - time="2024-01-06T23:39:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52958->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35803->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35803->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207462877/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules207462877/work/payloads/0000/tree" - time="2024-01-06T23:39:42Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33392->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33392->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35197->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35197->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52647->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52647->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Ignoring error executing 'ArtifactFailure_Enter_00': 1: exit status 1" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41039->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41039->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207462877/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules207462877/work/payloads/0000/tree" - time="2024-01-06T23:39:42Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207462877/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules207462877/work/payloads/0000/tree" - time="2024-01-06T23:39:42Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:42Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:42Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:42Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules207462877/artifact_info file." - time="2024-01-06T23:39:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules207462877/artifact_info" - time="2024-01-06T23:39:42Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:42Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.22s) + time="2025-02-08T06:08:50Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:41159->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41159->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59691->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59691->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:50Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:50Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules266729927/device_type" + time="2025-02-08T06:08:50Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:50Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:50Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:50Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:50Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules266729927/artifact_info file." + time="2025-02-08T06:08:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules266729927/artifact_info" + time="2025-02-08T06:08:50Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:50Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules266729927/artifact_info" + time="2025-02-08T06:08:50Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules266729927/device_type" + time="2025-02-08T06:08:50Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:50Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules266729927/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules266729927/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules266729927/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules266729927/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:50Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:46208->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:46208->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33750->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33750->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:45568->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:45568->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48392->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48392->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules266729927/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules266729927/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:50Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:50Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08: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]:48108->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48108->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44168->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44168->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08: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]:50290->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:50290->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:53068->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:53068->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules266729927/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules266729927/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08: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]:58496->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58496->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:50219->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:50219->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:56875->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:56875->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=error msg="statescript: Ignoring error executing 'ArtifactFailure_Enter_00': 1: exit status 1" + time="2025-02-08T06:08: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]:38034->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38034->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules266729927/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules266729927/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules266729927/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules266729927/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:50Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:50Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:50Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules266729927/artifact_info file." + time="2025-02-08T06:08:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules266729927/artifact_info" + time="2025-02-08T06:08:50Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:50Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.07s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure_Enter_00 state_test.go:4717: Killed in ArtifactFailure_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:42Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:42Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41159->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41159->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44654->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44654->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:42Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:42Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:42Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules050632330/device_type" - time="2024-01-06T23:39:42Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:42Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:42Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:42Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:42Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules050632330/artifact_info file." - time="2024-01-06T23:39:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules050632330/artifact_info" - time="2024-01-06T23:39:42Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:42Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules050632330/artifact_info" - time="2024-01-06T23:39:42Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules050632330/device_type" - time="2024-01-06T23:39:42Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:42Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules050632330/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules050632330/work/payloads/0000/tree" - time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules050632330/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules050632330/work/payloads/0000/tree" - time="2024-01-06T23:39:42Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:42Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:42Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:42Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34886->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34886->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35876->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35876->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45349->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45349->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48477->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48477->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules050632330/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules050632330/work/payloads/0000/tree" - time="2024-01-06T23:39:42Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:42Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:42Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:42Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35616->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35616->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46363->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46363->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56996->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56996->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39538->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39538->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules050632330/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules050632330/work/payloads/0000/tree" - time="2024-01-06T23:39:42Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43398->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43398->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46416->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46416->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36999->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36999->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:44798->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44798->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52287->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52287->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:50Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:50Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules820911036/device_type" + time="2025-02-08T06:08:50Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:50Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:50Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:50Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:50Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules820911036/artifact_info file." + time="2025-02-08T06:08:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules820911036/artifact_info" + time="2025-02-08T06:08:50Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:50Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules820911036/artifact_info" + time="2025-02-08T06:08:50Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules820911036/device_type" + time="2025-02-08T06:08:50Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:50Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules820911036/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules820911036/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules820911036/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules820911036/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:50Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:57839->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:57839->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58636->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58636->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:54180->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54180->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:56126->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:56126->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules820911036/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules820911036/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:50Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:50Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08: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]:60504->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60504->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55942->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55942->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08: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]:54593->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54593->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36376->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36376->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules820911036/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules820911036/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08: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]:45724->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:45724->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36556->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36556->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:42791->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42791->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 6 (*app.updateErrorState) - time="2024-01-06T23:39:42Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:42Z" level=info msg="Handling loaded state: update-error" - time="2024-01-06T23:39:42Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:42Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-06T23:39:42Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:42Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34663->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34663->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60589->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60589->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules050632330/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules050632330/work/payloads/0000/tree" - time="2024-01-06T23:39:42Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules050632330/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules050632330/work/payloads/0000/tree" - time="2024-01-06T23:39:42Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:42Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:42Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:42Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules050632330/artifact_info file." - time="2024-01-06T23:39:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules050632330/artifact_info" - time="2024-01-06T23:39:42Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:42Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.04s) + time="2025-02-08T06:08:50Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:50Z" level=info msg="Handling loaded state: update-error" + time="2025-02-08T06:08:50Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:50Z" level=error msg="Mender shut down in state: update-error" + time="2025-02-08T06:08:50Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:50Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:33096->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33096->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59301->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59301->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules820911036/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules820911036/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules820911036/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules820911036/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:50Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:50Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:50Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules820911036/artifact_info file." + time="2025-02-08T06:08:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules820911036/artifact_info" + time="2025-02-08T06:08:50Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:50Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.02s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Enter_00 state_test.go:4717: Error in ArtifactCommit_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:42Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:42Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46703->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46703->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42447->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42447->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:42Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:42Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:42Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules538231099/device_type" - time="2024-01-06T23:39:42Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:42Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:42Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:42Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:42Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules538231099/artifact_info file." - time="2024-01-06T23:39:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules538231099/artifact_info" - time="2024-01-06T23:39:42Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:42Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules538231099/artifact_info" - time="2024-01-06T23:39:42Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules538231099/device_type" - time="2024-01-06T23:39:42Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:42Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules538231099/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules538231099/work/payloads/0000/tree" - time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules538231099/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules538231099/work/payloads/0000/tree" - time="2024-01-06T23:39:42Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:42Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:42Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:42Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56889->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56889->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47753->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47753->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37076->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37076->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48713->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48713->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules538231099/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules538231099/work/payloads/0000/tree" - time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules538231099/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules538231099/work/payloads/0000/tree" - time="2024-01-06T23:39:42Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:42Z" level=debug msg="Module needs custom reboot" - time="2024-01-06T23:39:42Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56023->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56023->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54910->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54910->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34095->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34095->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51899->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51899->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=debug msg="Handling reboot state" - time="2024-01-06T23:39:42Z" level=info msg="Rebooting device(s)" - time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules538231099/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules538231099/work/payloads/0000/tree" - time="2024-01-06T23:39:42Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules538231099/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules538231099/work/payloads/0000/tree" - time="2024-01-06T23:39:42Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:39:42Z" level=debug msg="Handling state after reboot" - time="2024-01-06T23:39:42Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50159->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50159->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53812->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53812->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59149->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59149->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36327->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36327->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="transient error: error calling enter script for (error) update-commit state: error running enter state script(s) for ArtifactCommit_Enter state: statescript: error executing 'ArtifactCommit_Enter_00': 1 : exit status 1" - time="2024-01-06T23:39:42Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:42Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60593->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60593->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48470->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48470->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46936->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46936->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44239->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44239->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules538231099/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules538231099/work/payloads/0000/tree" - time="2024-01-06T23:39:42Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-06T23:39:42Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38079->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38079->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36481->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36481->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52377->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52377->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39125->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39125->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules538231099/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules538231099/work/payloads/0000/tree" - time="2024-01-06T23:39:42Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules538231099/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules538231099/work/payloads/0000/tree" - time="2024-01-06T23:39:42Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:42Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-06T23:39:42Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54421->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54421->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50779->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50779->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48971->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48971->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42001->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42001->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules538231099/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules538231099/work/payloads/0000/tree" - time="2024-01-06T23:39:42Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules538231099/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules538231099/work/payloads/0000/tree" - time="2024-01-06T23:39:42Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:42Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:42Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:42Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules538231099/artifact_info file." - time="2024-01-06T23:39:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules538231099/artifact_info" - time="2024-01-06T23:39:42Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:42Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.32s) + time="2025-02-08T06:08:50Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:38370->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38370->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51930->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51930->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:50Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:50Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules020658517/device_type" + time="2025-02-08T06:08:50Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:50Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:50Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:50Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:50Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules020658517/artifact_info file." + time="2025-02-08T06:08:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules020658517/artifact_info" + time="2025-02-08T06:08:50Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:50Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules020658517/artifact_info" + time="2025-02-08T06:08:50Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules020658517/device_type" + time="2025-02-08T06:08:50Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:50Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules020658517/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules020658517/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules020658517/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules020658517/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:50Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:41868->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41868->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43866->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43866->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:53261->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:53261->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41445->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41445->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules020658517/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules020658517/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules020658517/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules020658517/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:50Z" level=debug msg="Module needs custom reboot" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08: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]:53577->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:53577->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42956->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42956->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08: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]:56435->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:56435->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55135->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55135->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="Handling reboot state" + time="2025-02-08T06:08:50Z" level=info msg="Rebooting device(s)" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules020658517/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules020658517/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules020658517/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules020658517/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:08:50Z" level=debug msg="Handling state after reboot" + time="2025-02-08T06:08:50Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08: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]:41468->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41468->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33470->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33470->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41593->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41593->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39530->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39530->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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="2025-02-08T06:08:50Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:50Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08: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]:60452->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60452->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:50356->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:50356->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08: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]:42678->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42678->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36272->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36272->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules020658517/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules020658517/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=debug msg="Will try to rollback reboot the device" + time="2025-02-08T06:08:50Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08: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]:53620->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:53620->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47359->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47359->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:49995->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:49995->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:45521->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:45521->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules020658517/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules020658517/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules020658517/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules020658517/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:50Z" level=debug msg="Handling state after rollback reboot" + time="2025-02-08T06:08:50Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:34454->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34454->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51857->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51857->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:45566->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:45566->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58459->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58459->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules020658517/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules020658517/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules020658517/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules020658517/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:50Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:50Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:50Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules020658517/artifact_info file." + time="2025-02-08T06:08:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules020658517/artifact_info" + time="2025-02-08T06:08:50Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:50Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.11s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Enter_00 state_test.go:4717: Killed in ArtifactCommit_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:42Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:42Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35470->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35470->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33268->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33268->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:42Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:42Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:42Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules322719296/device_type" - time="2024-01-06T23:39:42Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:42Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:42Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:42Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:42Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules322719296/artifact_info file." - time="2024-01-06T23:39:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules322719296/artifact_info" - time="2024-01-06T23:39:42Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:42Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules322719296/artifact_info" - time="2024-01-06T23:39:42Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules322719296/device_type" - time="2024-01-06T23:39:42Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:42Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:42Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules322719296/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules322719296/work/payloads/0000/tree" - time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules322719296/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules322719296/work/payloads/0000/tree" - time="2024-01-06T23:39:42Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:42Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:42Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:42Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57193->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57193->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45551->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45551->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52647->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52647->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48793->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48793->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules322719296/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules322719296/work/payloads/0000/tree" - time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules322719296/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules322719296/work/payloads/0000/tree" - time="2024-01-06T23:39:42Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:42Z" level=debug msg="Module needs custom reboot" - time="2024-01-06T23:39:42Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60583->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60583->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57497->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57497->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40322->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40322->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49985->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49985->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=debug msg="Handling reboot state" - time="2024-01-06T23:39:42Z" level=info msg="Rebooting device(s)" - time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules322719296/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules322719296/work/payloads/0000/tree" - time="2024-01-06T23:39:42Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules322719296/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules322719296/work/payloads/0000/tree" - time="2024-01-06T23:39:42Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:39:42Z" level=debug msg="Handling state after reboot" - time="2024-01-06T23:39:42Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43461->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43461->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47634->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47634->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60351->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60351->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:59358->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59358->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:50080->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:50080->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:50Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:50Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules387421026/device_type" + time="2025-02-08T06:08:50Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:50Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:50Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:50Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:50Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules387421026/artifact_info file." + time="2025-02-08T06:08:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules387421026/artifact_info" + time="2025-02-08T06:08:50Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:50Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules387421026/artifact_info" + time="2025-02-08T06:08:50Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules387421026/device_type" + time="2025-02-08T06:08:50Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:50Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules387421026/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules387421026/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules387421026/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules387421026/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:50Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:52399->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52399->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39864->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39864->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:51505->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51505->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42298->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42298->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules387421026/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules387421026/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules387421026/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules387421026/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:50Z" level=debug msg="Module needs custom reboot" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08: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]:57799->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:57799->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43609->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43609->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08: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]:38826->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38826->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35047->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35047->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="Handling reboot state" + time="2025-02-08T06:08:50Z" level=info msg="Rebooting device(s)" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules387421026/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules387421026/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules387421026/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules387421026/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:08:50Z" level=debug msg="Handling state after reboot" + time="2025-02-08T06:08:50Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08: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]:37114->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37114->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44017->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44017->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08: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]:49006->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:49006->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 8 (*app.updateRollbackState) - time="2024-01-06T23:39:42Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:42Z" level=info msg="Handling loaded state: update-commit" - time="2024-01-06T23:39:42Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:42Z" level=error msg="Mender shut down in state: update-commit" - time="2024-01-06T23:39:42Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:42Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38572->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38572->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54544->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54544->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules322719296/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules322719296/work/payloads/0000/tree" - time="2024-01-06T23:39:42Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-06T23:39:42Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58634->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58634->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42284->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42284->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48278->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48278->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45477->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45477->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules322719296/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules322719296/work/payloads/0000/tree" - time="2024-01-06T23:39:42Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:42Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules322719296/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules322719296/work/payloads/0000/tree" - time="2024-01-06T23:39:42Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:42Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-06T23:39:42Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45616->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45616->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54747->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54747->[::1]:53: read: connection refused" - time="2024-01-06T23:39:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:42Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36836->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36836->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58523->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58523->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules322719296/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules322719296/work/payloads/0000/tree" - time="2024-01-06T23:39:43Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:43Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:43Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules322719296/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules322719296/work/payloads/0000/tree" - time="2024-01-06T23:39:43Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:43Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:43Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:43Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:43Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules322719296/artifact_info file." - time="2024-01-06T23:39:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules322719296/artifact_info" - time="2024-01-06T23:39:43Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:43Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.12s) + time="2025-02-08T06:08:50Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:50Z" level=info msg="Handling loaded state: update-commit" + time="2025-02-08T06:08:50Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:50Z" level=error msg="Mender shut down in state: update-commit" + time="2025-02-08T06:08:50Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:50Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08: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]:37173->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37173->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40206->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40206->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules387421026/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules387421026/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=debug msg="Will try to rollback reboot the device" + time="2025-02-08T06:08:50Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08: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]:38576->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38576->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33221->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33221->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:52663->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52663->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54598->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54598->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules387421026/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules387421026/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules387421026/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules387421026/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:50Z" level=debug msg="Handling state after rollback reboot" + time="2025-02-08T06:08:50Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:45641->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:45641->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40504->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40504->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:50261->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:50261->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34883->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34883->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules387421026/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules387421026/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules387421026/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules387421026/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:50Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:50Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:50Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules387421026/artifact_info file." + time="2025-02-08T06:08:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules387421026/artifact_info" + time="2025-02-08T06:08:50Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:50Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.04s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Enter_00,_no_reboot state_test.go:4717: Error in ArtifactCommit_Enter_00, no reboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:43Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:43Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:43Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:43Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38472->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38472->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35922->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35922->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:43Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:43Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:43Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules865744937/device_type" - time="2024-01-06T23:39:43Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:43Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:43Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:43Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:43Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules865744937/artifact_info file." - time="2024-01-06T23:39:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules865744937/artifact_info" - time="2024-01-06T23:39:43Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:43Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules865744937/artifact_info" - time="2024-01-06T23:39:43Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules865744937/device_type" - time="2024-01-06T23:39:43Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:43Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules865744937/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules865744937/work/payloads/0000/tree" - time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules865744937/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules865744937/work/payloads/0000/tree" - time="2024-01-06T23:39:43Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:43Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:43Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:43Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:43Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57412->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57412->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45439->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45439->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:43Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51149->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51149->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49681->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49681->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules865744937/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules865744937/work/payloads/0000/tree" - time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:39:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules865744937/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules865744937/work/payloads/0000/tree" - time="2024-01-06T23:39:43Z" level=debug msg="Update module output: No" - time="2024-01-06T23:39:43Z" level=debug msg="Module does not need reboot" - time="2024-01-06T23:39:43Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:43Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40514->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40514->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43116->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43116->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:43Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56924->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56924->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60978->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60978->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="transient error: error calling enter script for (error) update-commit state: error running enter state script(s) for ArtifactCommit_Enter state: statescript: error executing 'ArtifactCommit_Enter_00': 1 : exit status 1" - time="2024-01-06T23:39:43Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:43Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:43Z" level=debug msg="Executing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38863->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38863->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51603->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51603->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:43Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41549->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41549->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42719->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42719->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules865744937/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules865744937/work/payloads/0000/tree" - time="2024-01-06T23:39:43Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:43Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37442->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37442->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43620->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43620->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:43Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38380->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38380->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37007->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37007->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules865744937/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules865744937/work/payloads/0000/tree" - time="2024-01-06T23:39:43Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:43Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:43Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules865744937/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules865744937/work/payloads/0000/tree" - time="2024-01-06T23:39:43Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:43Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:43Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:43Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:43Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules865744937/artifact_info file." - time="2024-01-06T23:39:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules865744937/artifact_info" - time="2024-01-06T23:39:43Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:43Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.32s) + time="2025-02-08T06:08:50Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:36250->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36250->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:45999->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:45999->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:50Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:50Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules318738675/device_type" + time="2025-02-08T06:08:50Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:50Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:50Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:50Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:50Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules318738675/artifact_info file." + time="2025-02-08T06:08:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules318738675/artifact_info" + time="2025-02-08T06:08:50Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:50Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules318738675/artifact_info" + time="2025-02-08T06:08:50Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules318738675/device_type" + time="2025-02-08T06:08:50Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:50Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:50Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules318738675/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules318738675/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:50Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules318738675/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules318738675/work/payloads/0000/tree" + time="2025-02-08T06:08:50Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:50Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:50Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:51527->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51527->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44871->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44871->[::1]:53: read: connection refused" + time="2025-02-08T06:08:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:50Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:41805->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41805->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:56247->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:56247->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules318738675/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules318738675/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules318738675/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules318738675/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=debug msg="Update module output: No" + time="2025-02-08T06:08:51Z" level=debug msg="Module does not need reboot" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08: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]:35425->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35425->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36495->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36495->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08: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]:60952->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60952->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37364->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37364->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" 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="2025-02-08T06:08:51Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:51Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08: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]:49590->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:49590->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:45031->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:45031->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08: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]:60315->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60315->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34245->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34245->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules318738675/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules318738675/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08: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]:47352->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47352->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:49457->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:49457->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:49246->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:49246->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35575->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35575->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules318738675/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules318738675/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules318738675/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules318738675/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:51Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:51Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:51Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules318738675/artifact_info file." + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules318738675/artifact_info" + time="2025-02-08T06:08:51Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:51Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.08s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Enter_00,_no_reboot state_test.go:4717: Killed in ArtifactCommit_Enter_00, no reboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:43Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:43Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:43Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:43Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56150->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56150->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41932->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41932->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:43Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:43Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:43Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules114493638/device_type" - time="2024-01-06T23:39:43Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:43Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:43Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:43Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:43Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules114493638/artifact_info file." - time="2024-01-06T23:39:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules114493638/artifact_info" - time="2024-01-06T23:39:43Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:43Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules114493638/artifact_info" - time="2024-01-06T23:39:43Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules114493638/device_type" - time="2024-01-06T23:39:43Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:43Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules114493638/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules114493638/work/payloads/0000/tree" - time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules114493638/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules114493638/work/payloads/0000/tree" - time="2024-01-06T23:39:43Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:43Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:43Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:43Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:43Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53333->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53333->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46281->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46281->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:43Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56998->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56998->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41101->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41101->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules114493638/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules114493638/work/payloads/0000/tree" - time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:39:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules114493638/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules114493638/work/payloads/0000/tree" - time="2024-01-06T23:39:43Z" level=debug msg="Update module output: No" - time="2024-01-06T23:39:43Z" level=debug msg="Module does not need reboot" - time="2024-01-06T23:39:43Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:43Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42100->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42100->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44746->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44746->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:43Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57371->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57371->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:59638->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59638->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58524->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58524->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:51Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:51Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules235720280/device_type" + time="2025-02-08T06:08:51Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:51Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:51Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:51Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:51Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules235720280/artifact_info file." + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules235720280/artifact_info" + time="2025-02-08T06:08:51Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:51Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules235720280/artifact_info" + time="2025-02-08T06:08:51Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules235720280/device_type" + time="2025-02-08T06:08:51Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:51Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules235720280/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules235720280/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules235720280/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules235720280/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:51Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:35324->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35324->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47390->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47390->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:47234->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47234->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38461->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38461->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules235720280/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules235720280/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules235720280/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules235720280/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=debug msg="Update module output: No" + time="2025-02-08T06:08:51Z" level=debug msg="Module does not need reboot" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08: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]:40482->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40482->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51699->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51699->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08: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]:35694->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35694->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 5 (*app.updateRollbackState) - time="2024-01-06T23:39:43Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:43Z" level=info msg="Handling loaded state: update-commit" - time="2024-01-06T23:39:43Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:43Z" level=error msg="Mender shut down in state: update-commit" - time="2024-01-06T23:39:43Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:43Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:43Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39666->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39666->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50267->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50267->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules114493638/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules114493638/work/payloads/0000/tree" - time="2024-01-06T23:39:43Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:43Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33959->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33959->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37681->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37681->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:43Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40163->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40163->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39870->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39870->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules114493638/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules114493638/work/payloads/0000/tree" - time="2024-01-06T23:39:43Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:43Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:43Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules114493638/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules114493638/work/payloads/0000/tree" - time="2024-01-06T23:39:43Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:43Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:43Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:43Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:43Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules114493638/artifact_info file." - time="2024-01-06T23:39:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules114493638/artifact_info" - time="2024-01-06T23:39:43Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:43Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.08s) + time="2025-02-08T06:08:51Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:51Z" level=info msg="Handling loaded state: update-commit" + time="2025-02-08T06:08:51Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:51Z" level=error msg="Mender shut down in state: update-commit" + time="2025-02-08T06:08:51Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:51Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08: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]:58377->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58377->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38769->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38769->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules235720280/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules235720280/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08: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]:54594->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54594->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36220->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36220->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:49824->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:49824->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59722->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59722->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules235720280/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules235720280/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules235720280/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules235720280/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:51Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:51Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:51Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules235720280/artifact_info file." + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules235720280/artifact_info" + time="2025-02-08T06:08:51Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:51Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.03s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_Download_Leave_00_state,_no_rollback state_test.go:4717: Error in Download_Leave_00 state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:43Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:43Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:43Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:43Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34398->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34398->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35038->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35038->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:43Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:43Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:43Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules980049959/device_type" - time="2024-01-06T23:39:43Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:43Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:43Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:43Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:43Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules980049959/artifact_info file." - time="2024-01-06T23:39:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules980049959/artifact_info" - time="2024-01-06T23:39:43Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:43Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules980049959/artifact_info" - time="2024-01-06T23:39:43Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules980049959/device_type" - time="2024-01-06T23:39:43Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:43Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules980049959/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules980049959/work/payloads/0000/tree" - time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules980049959/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules980049959/work/payloads/0000/tree" - time="2024-01-06T23:39:43Z" level=debug msg="Update module output: No" - time="2024-01-06T23:39:43Z" level=debug msg="Module does not support rollback" - time="2024-01-06T23:39:43Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:43Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:43Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35681->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35681->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50001->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50001->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="transient error: error executing leave script for update-after-store state: error running leave state script(s) for Download_Leave state: statescript: error executing 'Download_Leave_00': 1 : exit status 1" - time="2024-01-06T23:39:43Z" level=info msg="State transition: update-after-store [Download_Leave] -> cleanup [Error]" - time="2024-01-06T23:39:43Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:43Z" level=debug msg="Executing script: Download_Error_00" - time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:43Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules980049959/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules980049959/work/payloads/0000/tree" - time="2024-01-06T23:39:43Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:43Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:43Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:43Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:43Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules980049959/artifact_info file." - time="2024-01-06T23:39:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules980049959/artifact_info" - time="2024-01-06T23:39:43Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:43Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.13s) + time="2025-02-08T06:08:51Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:40486->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40486->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:53601->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:53601->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:51Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:51Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules663120417/device_type" + time="2025-02-08T06:08:51Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:51Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:51Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:51Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:51Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules663120417/artifact_info file." + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules663120417/artifact_info" + time="2025-02-08T06:08:51Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:51Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules663120417/artifact_info" + time="2025-02-08T06:08:51Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules663120417/device_type" + time="2025-02-08T06:08:51Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:51Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules663120417/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules663120417/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules663120417/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules663120417/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=debug msg="Update module output: No" + time="2025-02-08T06:08:51Z" level=debug msg="Module does not support rollback" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:35820->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35820->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52587->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52587->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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="2025-02-08T06:08:51Z" level=info msg="State transition: update-after-store [Download_Leave] -> cleanup [Error]" + time="2025-02-08T06:08:51Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: Download_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules663120417/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules663120417/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:51Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:51Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:51Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules663120417/artifact_info file." + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules663120417/artifact_info" + time="2025-02-08T06:08:51Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:51Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.04s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_Download_Leave_00_state,_no_rollback state_test.go:4717: Killed in Download_Leave_00 state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:43Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:43Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:43Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:43Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36786->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36786->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32832->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32832->[::1]:53: read: connection refused" - time="2024-01-06T23:39:43Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:43Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:43Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:43Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules228029340/device_type" - time="2024-01-06T23:39:43Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:43Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:43Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:43Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:43Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules228029340/artifact_info file." - time="2024-01-06T23:39:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules228029340/artifact_info" - time="2024-01-06T23:39:43Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:43Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules228029340/artifact_info" - time="2024-01-06T23:39:43Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules228029340/device_type" - time="2024-01-06T23:39:43Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:43Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:43Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules228029340/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules228029340/work/payloads/0000/tree" - time="2024-01-06T23:39:43Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules228029340/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules228029340/work/payloads/0000/tree" - time="2024-01-06T23:39:44Z" level=debug msg="Update module output: No" - time="2024-01-06T23:39:44Z" level=debug msg="Module does not support rollback" - time="2024-01-06T23:39:44Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:44Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:44Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37395->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37395->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:42346->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42346->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35872->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35872->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:51Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:51Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules934895134/device_type" + time="2025-02-08T06:08:51Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:51Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:51Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:51Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:51Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules934895134/artifact_info file." + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules934895134/artifact_info" + time="2025-02-08T06:08:51Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:51Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules934895134/artifact_info" + time="2025-02-08T06:08:51Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules934895134/device_type" + time="2025-02-08T06:08:51Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:51Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules934895134/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules934895134/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules934895134/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules934895134/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=debug msg="Update module output: No" + time="2025-02-08T06:08:51Z" level=debug msg="Module does not support rollback" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:45241->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:45241->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 4 (*app.updateCleanupState) - time="2024-01-06T23:39:44Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:44Z" level=info msg="Handling loaded state: update-after-store" - time="2024-01-06T23:39:44Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:44Z" level=error msg="Mender shut down in state: update-after-store" - time="2024-01-06T23:39:44Z" level=info msg="State transition: init [none] -> cleanup [Error]" - time="2024-01-06T23:39:44Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:44Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules228029340/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules228029340/work/payloads/0000/tree" - time="2024-01-06T23:39:44Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:44Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:44Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:44Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:44Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules228029340/artifact_info file." - time="2024-01-06T23:39:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules228029340/artifact_info" - time="2024-01-06T23:39:44Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:44Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:51Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:51Z" level=info msg="Handling loaded state: update-after-store" + time="2025-02-08T06:08:51Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:51Z" level=error msg="Mender shut down in state: update-after-store" + time="2025-02-08T06:08:51Z" level=info msg="State transition: init [none] -> cleanup [Error]" + time="2025-02-08T06:08:51Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules934895134/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules934895134/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:51Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:51Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:51Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules934895134/artifact_info file." + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules934895134/artifact_info" + time="2025-02-08T06:08:51Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:51Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.01s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Leave_00_state,_no_rollback state_test.go:4717: Error in ArtifactInstall_Leave_00 state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:44Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:44Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:44Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:44Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54833->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54833->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47295->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47295->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:44Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:44Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:44Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules089689781/device_type" - time="2024-01-06T23:39:44Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:44Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:44Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:44Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:44Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules089689781/artifact_info file." - time="2024-01-06T23:39:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules089689781/artifact_info" - time="2024-01-06T23:39:44Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:44Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules089689781/artifact_info" - time="2024-01-06T23:39:44Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules089689781/device_type" - time="2024-01-06T23:39:44Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:44Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules089689781/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules089689781/work/payloads/0000/tree" - time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules089689781/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules089689781/work/payloads/0000/tree" - time="2024-01-06T23:39:44Z" level=debug msg="Update module output: No" - time="2024-01-06T23:39:44Z" level=debug msg="Module does not support rollback" - time="2024-01-06T23:39:44Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:44Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:44Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57814->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57814->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47851->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47851->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:44Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48263->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48263->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59910->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59910->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules089689781/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules089689781/work/payloads/0000/tree" - time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules089689781/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules089689781/work/payloads/0000/tree" - time="2024-01-06T23:39:44Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:44Z" level=debug msg="Module needs custom reboot" - time="2024-01-06T23:39:44Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:44Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32838->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32838->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35783->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35783->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="transient error: error executing leave script for update-install state: error running leave state script(s) for ArtifactInstall state: statescript: error executing 'ArtifactInstall_Leave_00': 1 : exit status 1" - time="2024-01-06T23:39:44Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" - time="2024-01-06T23:39:44Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:44Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:44Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52666->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52666->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54180->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54180->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:44Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39003->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39003->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41275->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41275->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules089689781/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules089689781/work/payloads/0000/tree" - time="2024-01-06T23:39:44Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:44Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:44Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules089689781/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules089689781/work/payloads/0000/tree" - time="2024-01-06T23:39:44Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:44Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:44Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:44Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:44Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.23s) + time="2025-02-08T06:08:51Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:57905->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:57905->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38503->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38503->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:51Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:51Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules688800351/device_type" + time="2025-02-08T06:08:51Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:51Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:51Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:51Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:51Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules688800351/artifact_info file." + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules688800351/artifact_info" + time="2025-02-08T06:08:51Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:51Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules688800351/artifact_info" + time="2025-02-08T06:08:51Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules688800351/device_type" + time="2025-02-08T06:08:51Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:51Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules688800351/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules688800351/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules688800351/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules688800351/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=debug msg="Update module output: No" + time="2025-02-08T06:08:51Z" level=debug msg="Module does not support rollback" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:58356->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58356->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39904->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39904->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:33367->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33367->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33516->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33516->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules688800351/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules688800351/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules688800351/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules688800351/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:51Z" level=debug msg="Module needs custom reboot" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08: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]:48353->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48353->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33219->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33219->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" 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="2025-02-08T06:08:51Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:51Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08: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]:41632->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41632->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33446->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33446->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:60352->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60352->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43473->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43473->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules688800351/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules688800351/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules688800351/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules688800351/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:51Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:51Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:51Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.06s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Leave_00_state,_no_rollback state_test.go:4717: Killed in ArtifactInstall_Leave_00 state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:44Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:44Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:44Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:44Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33849->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33849->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48668->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48668->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:44Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:44Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:44Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules662940226/device_type" - time="2024-01-06T23:39:44Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:44Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:44Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:44Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:44Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules662940226/artifact_info file." - time="2024-01-06T23:39:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules662940226/artifact_info" - time="2024-01-06T23:39:44Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:44Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules662940226/artifact_info" - time="2024-01-06T23:39:44Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules662940226/device_type" - time="2024-01-06T23:39:44Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:44Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules662940226/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules662940226/work/payloads/0000/tree" - time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules662940226/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules662940226/work/payloads/0000/tree" - time="2024-01-06T23:39:44Z" level=debug msg="Update module output: No" - time="2024-01-06T23:39:44Z" level=debug msg="Module does not support rollback" - time="2024-01-06T23:39:44Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:44Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:44Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46042->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46042->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40527->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40527->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:44Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39533->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39533->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45505->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45505->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules662940226/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules662940226/work/payloads/0000/tree" - time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules662940226/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules662940226/work/payloads/0000/tree" - time="2024-01-06T23:39:44Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:44Z" level=debug msg="Module needs custom reboot" - time="2024-01-06T23:39:44Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:44Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43553->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43553->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:58933->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58933->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36906->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36906->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:51Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:51Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules683344948/device_type" + time="2025-02-08T06:08:51Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:51Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:51Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:51Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:51Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules683344948/artifact_info file." + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules683344948/artifact_info" + time="2025-02-08T06:08:51Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:51Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules683344948/artifact_info" + time="2025-02-08T06:08:51Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules683344948/device_type" + time="2025-02-08T06:08:51Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:51Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules683344948/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules683344948/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules683344948/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules683344948/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=debug msg="Update module output: No" + time="2025-02-08T06:08:51Z" level=debug msg="Module does not support rollback" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:60172->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60172->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:46374->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:46374->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:52446->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52446->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58767->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58767->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules683344948/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules683344948/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules683344948/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules683344948/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:51Z" level=debug msg="Module needs custom reboot" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08: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]:37574->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37574->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 5 (*app.updateErrorState) - time="2024-01-06T23:39:44Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:44Z" level=info msg="Handling loaded state: update-install" - time="2024-01-06T23:39:44Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:44Z" level=error msg="Mender shut down in state: update-install" - time="2024-01-06T23:39:44Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" - time="2024-01-06T23:39:44Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:44Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:44Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41591->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41591->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39049->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39049->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules662940226/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules662940226/work/payloads/0000/tree" - time="2024-01-06T23:39:44Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:44Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:44Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules662940226/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules662940226/work/payloads/0000/tree" - time="2024-01-06T23:39:44Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:44Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:44Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:44Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:44Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.06s) + time="2025-02-08T06:08:51Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:51Z" level=info msg="Handling loaded state: update-install" + time="2025-02-08T06:08:51Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:51Z" level=error msg="Mender shut down in state: update-install" + time="2025-02-08T06:08:51Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" + time="2025-02-08T06:08:51Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:51Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:38880->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38880->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60779->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60779->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules683344948/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules683344948/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules683344948/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules683344948/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:51Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:51Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:51Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.02s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Leave_00 state_test.go:4717: Error in ArtifactInstall_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:44Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:44Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:44Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:44Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44199->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44199->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54469->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54469->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:44Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:44Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:44Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules699535187/device_type" - time="2024-01-06T23:39:44Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:44Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:44Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:44Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:44Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules699535187/artifact_info file." - time="2024-01-06T23:39:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules699535187/artifact_info" - time="2024-01-06T23:39:44Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:44Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules699535187/artifact_info" - time="2024-01-06T23:39:44Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules699535187/device_type" - time="2024-01-06T23:39:44Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:44Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:44Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules699535187/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules699535187/work/payloads/0000/tree" - time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules699535187/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules699535187/work/payloads/0000/tree" - time="2024-01-06T23:39:44Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:44Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:44Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:44Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:44Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47240->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47240->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49264->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49264->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:44Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36730->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36730->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55012->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55012->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules699535187/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules699535187/work/payloads/0000/tree" - time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules699535187/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules699535187/work/payloads/0000/tree" - time="2024-01-06T23:39:44Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:44Z" level=debug msg="Module needs custom reboot" - time="2024-01-06T23:39:44Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:44Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37879->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37879->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44094->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44094->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="transient error: error executing leave script for update-install state: error running leave state script(s) for ArtifactInstall state: statescript: error executing 'ArtifactInstall_Leave_00': 1 : exit status 1" - time="2024-01-06T23:39:44Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:44Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:44Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43845->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43845->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55532->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55532->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:44Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32836->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32836->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45088->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45088->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules699535187/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules699535187/work/payloads/0000/tree" - time="2024-01-06T23:39:44Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-06T23:39:44Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:44Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43319->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43319->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42495->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42495->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:44Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34353->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34353->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52088->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52088->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules699535187/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules699535187/work/payloads/0000/tree" - time="2024-01-06T23:39:44Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules699535187/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules699535187/work/payloads/0000/tree" - time="2024-01-06T23:39:44Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:44Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-06T23:39:44Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:44Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60937->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60937->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57258->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57258->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:44Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52740->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52740->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35079->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35079->[::1]:53: read: connection refused" - time="2024-01-06T23:39:44Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules699535187/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules699535187/work/payloads/0000/tree" - time="2024-01-06T23:39:44Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:44Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:44Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:44Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules699535187/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules699535187/work/payloads/0000/tree" - time="2024-01-06T23:39:44Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:44Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:44Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:44Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:44Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules699535187/artifact_info file." - time="2024-01-06T23:39:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules699535187/artifact_info" - time="2024-01-06T23:39:44Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:44Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.31s) + time="2025-02-08T06:08:51Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:51831->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51831->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40106->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40106->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:51Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:51Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules477027629/device_type" + time="2025-02-08T06:08:51Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:51Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:51Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:51Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:51Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules477027629/artifact_info file." + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules477027629/artifact_info" + time="2025-02-08T06:08:51Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:51Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules477027629/artifact_info" + time="2025-02-08T06:08:51Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules477027629/device_type" + time="2025-02-08T06:08:51Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:51Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules477027629/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules477027629/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules477027629/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules477027629/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:51Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:35765->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35765->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42890->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42890->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:48529->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48529->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:57031->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:57031->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules477027629/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules477027629/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules477027629/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules477027629/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:51Z" level=debug msg="Module needs custom reboot" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08: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]:38584->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38584->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34074->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34074->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" 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="2025-02-08T06:08:51Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:51Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08: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]:35647->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35647->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37669->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37669->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08: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]:47537->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47537->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60607->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60607->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules477027629/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules477027629/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=debug msg="Will try to rollback reboot the device" + time="2025-02-08T06:08:51Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08: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]:58690->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58690->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:49761->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:49761->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:52973->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52973->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47884->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47884->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules477027629/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules477027629/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules477027629/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules477027629/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:51Z" level=debug msg="Handling state after rollback reboot" + time="2025-02-08T06:08:51Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:44654->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44654->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35932->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35932->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:32986->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:32986->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47576->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47576->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules477027629/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules477027629/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules477027629/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules477027629/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:51Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:51Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:51Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules477027629/artifact_info file." + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules477027629/artifact_info" + time="2025-02-08T06:08:51Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:51Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.09s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Leave_00 state_test.go:4717: Killed in ArtifactInstall_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:45Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:45Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33458->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33458->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46603->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46603->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:45Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:45Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:45Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules567993912/device_type" - time="2024-01-06T23:39:45Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:45Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:45Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:45Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:45Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules567993912/artifact_info file." - time="2024-01-06T23:39:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules567993912/artifact_info" - time="2024-01-06T23:39:45Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:45Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules567993912/artifact_info" - time="2024-01-06T23:39:45Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules567993912/device_type" - time="2024-01-06T23:39:45Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:45Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules567993912/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules567993912/work/payloads/0000/tree" - time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules567993912/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules567993912/work/payloads/0000/tree" - time="2024-01-06T23:39:45Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:45Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:45Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:45Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38042->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38042->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37103->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37103->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53384->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53384->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52541->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52541->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules567993912/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules567993912/work/payloads/0000/tree" - time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules567993912/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules567993912/work/payloads/0000/tree" - time="2024-01-06T23:39:45Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:45Z" level=debug msg="Module needs custom reboot" - time="2024-01-06T23:39:45Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55859->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55859->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:48233->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48233->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60447->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60447->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:51Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:51Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules902010906/device_type" + time="2025-02-08T06:08:51Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:51Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:51Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:51Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:51Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules902010906/artifact_info file." + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules902010906/artifact_info" + time="2025-02-08T06:08:51Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:51Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules902010906/artifact_info" + time="2025-02-08T06:08:51Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules902010906/device_type" + time="2025-02-08T06:08:51Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:51Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules902010906/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules902010906/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules902010906/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules902010906/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:51Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:37057->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37057->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:57450->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:57450->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:52209->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52209->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38070->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38070->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules902010906/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules902010906/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules902010906/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules902010906/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:51Z" level=debug msg="Module needs custom reboot" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08: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]:58074->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58074->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 5 (*app.updateRollbackState) - time="2024-01-06T23:39:45Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:45Z" level=info msg="Handling loaded state: update-install" - time="2024-01-06T23:39:45Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:45Z" level=error msg="Mender shut down in state: update-install" - time="2024-01-06T23:39:45Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:45Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51576->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51576->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43982->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43982->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules567993912/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules567993912/work/payloads/0000/tree" - time="2024-01-06T23:39:45Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-06T23:39:45Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60620->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60620->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39457->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39457->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51867->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51867->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34559->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34559->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules567993912/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules567993912/work/payloads/0000/tree" - time="2024-01-06T23:39:45Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules567993912/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules567993912/work/payloads/0000/tree" - time="2024-01-06T23:39:45Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:45Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-06T23:39:45Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36888->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36888->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44477->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44477->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53035->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53035->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35569->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35569->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules567993912/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules567993912/work/payloads/0000/tree" - time="2024-01-06T23:39:45Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules567993912/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules567993912/work/payloads/0000/tree" - time="2024-01-06T23:39:45Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:45Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:45Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:45Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules567993912/artifact_info file." - time="2024-01-06T23:39:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules567993912/artifact_info" - time="2024-01-06T23:39:45Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:45Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.09s) + time="2025-02-08T06:08:51Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:51Z" level=info msg="Handling loaded state: update-install" + time="2025-02-08T06:08:51Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:51Z" level=error msg="Mender shut down in state: update-install" + time="2025-02-08T06:08:51Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:51Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08: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]:46350->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:46350->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48275->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48275->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules902010906/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules902010906/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=debug msg="Will try to rollback reboot the device" + time="2025-02-08T06:08:51Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08: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]:34172->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34172->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52883->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52883->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:35526->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35526->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54074->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54074->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules902010906/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules902010906/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules902010906/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules902010906/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:51Z" level=debug msg="Handling state after rollback reboot" + time="2025-02-08T06:08:51Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:35449->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35449->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34382->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34382->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:60652->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60652->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38185->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38185->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules902010906/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules902010906/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules902010906/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules902010906/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:51Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:51Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:51Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules902010906/artifact_info file." + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules902010906/artifact_info" + time="2025-02-08T06:08:51Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:51Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.04s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot_Leave_00 state_test.go:4717: Error in ArtifactReboot_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:45Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:45Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40296->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40296->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33164->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33164->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:45Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:45Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:45Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules102620033/device_type" - time="2024-01-06T23:39:45Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:45Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:45Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:45Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:45Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules102620033/artifact_info file." - time="2024-01-06T23:39:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules102620033/artifact_info" - time="2024-01-06T23:39:45Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:45Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules102620033/artifact_info" - time="2024-01-06T23:39:45Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules102620033/device_type" - time="2024-01-06T23:39:45Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:45Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules102620033/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules102620033/work/payloads/0000/tree" - time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules102620033/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules102620033/work/payloads/0000/tree" - time="2024-01-06T23:39:45Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:45Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:45Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:45Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53291->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53291->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41822->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41822->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34475->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34475->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52855->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52855->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules102620033/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules102620033/work/payloads/0000/tree" - time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules102620033/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules102620033/work/payloads/0000/tree" - time="2024-01-06T23:39:45Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:45Z" level=debug msg="Module needs custom reboot" - time="2024-01-06T23:39:45Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59271->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59271->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33530->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33530->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36111->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36111->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44086->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44086->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=debug msg="Handling reboot state" - time="2024-01-06T23:39:45Z" level=info msg="Rebooting device(s)" - time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules102620033/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules102620033/work/payloads/0000/tree" - time="2024-01-06T23:39:45Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules102620033/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules102620033/work/payloads/0000/tree" - time="2024-01-06T23:39:45Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:39:45Z" level=debug msg="Handling state after reboot" - time="2024-01-06T23:39:45Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45264->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45264->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37659->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37659->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="transient error: error executing leave script for after-reboot state: error running leave state script(s) for ArtifactReboot_Leave state: statescript: error executing 'ArtifactReboot_Leave_00': 1 : exit status 1" - time="2024-01-06T23:39:45Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:45Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52068->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52068->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38096->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38096->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36832->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36832->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47047->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47047->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules102620033/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules102620033/work/payloads/0000/tree" - time="2024-01-06T23:39:45Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-06T23:39:45Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57160->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57160->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58363->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58363->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56383->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56383->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57353->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57353->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules102620033/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules102620033/work/payloads/0000/tree" - time="2024-01-06T23:39:45Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules102620033/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules102620033/work/payloads/0000/tree" - time="2024-01-06T23:39:45Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:45Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-06T23:39:45Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44346->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44346->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37357->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37357->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41635->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41635->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44752->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44752->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules102620033/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules102620033/work/payloads/0000/tree" - time="2024-01-06T23:39:45Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules102620033/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules102620033/work/payloads/0000/tree" - time="2024-01-06T23:39:45Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:45Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:45Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:45Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules102620033/artifact_info file." - time="2024-01-06T23:39:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules102620033/artifact_info" - time="2024-01-06T23:39:45Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:45Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.28s) + time="2025-02-08T06:08:51Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:44157->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44157->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59709->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59709->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:51Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:51Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules858727435/device_type" + time="2025-02-08T06:08:51Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:51Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:51Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:51Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:51Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules858727435/artifact_info file." + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules858727435/artifact_info" + time="2025-02-08T06:08:51Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:51Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules858727435/artifact_info" + time="2025-02-08T06:08:51Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules858727435/device_type" + time="2025-02-08T06:08:51Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:51Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules858727435/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules858727435/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules858727435/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules858727435/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:51Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:36395->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36395->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:57150->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:57150->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:48351->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48351->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54064->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54064->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules858727435/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules858727435/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules858727435/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules858727435/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:51Z" level=debug msg="Module needs custom reboot" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08: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]:47589->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47589->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40589->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40589->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08: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]:39870->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39870->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40585->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40585->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="Handling reboot state" + time="2025-02-08T06:08:51Z" level=info msg="Rebooting device(s)" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules858727435/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules858727435/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules858727435/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules858727435/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:08:51Z" level=debug msg="Handling state after reboot" + time="2025-02-08T06:08:51Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08: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]:45700->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:45700->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39813->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39813->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" 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="2025-02-08T06:08:51Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:51Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08: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]:36854->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36854->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55949->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55949->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08: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]:47366->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47366->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47898->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47898->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules858727435/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules858727435/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=debug msg="Will try to rollback reboot the device" + time="2025-02-08T06:08:51Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08: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]:50786->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:50786->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:45549->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:45549->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:44908->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44908->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38079->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38079->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules858727435/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules858727435/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules858727435/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules858727435/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:51Z" level=debug msg="Handling state after rollback reboot" + time="2025-02-08T06:08:51Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:56674->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:56674->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44540->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44540->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:41692->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41692->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:49736->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:49736->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules858727435/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules858727435/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules858727435/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules858727435/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:51Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:51Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:51Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules858727435/artifact_info file." + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules858727435/artifact_info" + time="2025-02-08T06:08:51Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:51Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.10s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot_Leave_00 state_test.go:4717: Killed in ArtifactReboot_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:45Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:45Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41860->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41860->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45529->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45529->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:45Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:45Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:45Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules384760062/device_type" - time="2024-01-06T23:39:45Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:45Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:45Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:45Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:45Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules384760062/artifact_info file." - time="2024-01-06T23:39:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules384760062/artifact_info" - time="2024-01-06T23:39:45Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:45Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules384760062/artifact_info" - time="2024-01-06T23:39:45Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules384760062/device_type" - time="2024-01-06T23:39:45Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:45Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:45Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules384760062/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules384760062/work/payloads/0000/tree" - time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules384760062/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules384760062/work/payloads/0000/tree" - time="2024-01-06T23:39:45Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:45Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:45Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:45Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43258->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43258->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50091->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50091->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38209->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38209->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36227->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36227->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules384760062/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules384760062/work/payloads/0000/tree" - time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules384760062/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules384760062/work/payloads/0000/tree" - time="2024-01-06T23:39:45Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:45Z" level=debug msg="Module needs custom reboot" - time="2024-01-06T23:39:45Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37754->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37754->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45614->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45614->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38736->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38736->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59313->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59313->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=debug msg="Handling reboot state" - time="2024-01-06T23:39:45Z" level=info msg="Rebooting device(s)" - time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules384760062/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules384760062/work/payloads/0000/tree" - time="2024-01-06T23:39:45Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules384760062/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules384760062/work/payloads/0000/tree" - time="2024-01-06T23:39:45Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:39:45Z" level=debug msg="Handling state after reboot" - time="2024-01-06T23:39:45Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49061->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49061->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:60983->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60983->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52876->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52876->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:51Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:51Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules153111376/device_type" + time="2025-02-08T06:08:51Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:51Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:51Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:51Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:51Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules153111376/artifact_info file." + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules153111376/artifact_info" + time="2025-02-08T06:08:51Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:51Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules153111376/artifact_info" + time="2025-02-08T06:08:51Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules153111376/device_type" + time="2025-02-08T06:08:51Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:51Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules153111376/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules153111376/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules153111376/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules153111376/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:51Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:34160->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34160->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40857->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40857->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:40149->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40149->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52766->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52766->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules153111376/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules153111376/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules153111376/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules153111376/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:51Z" level=debug msg="Module needs custom reboot" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08: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]:56135->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:56135->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59717->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59717->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08: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]:49261->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:49261->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41507->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41507->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="Handling reboot state" + time="2025-02-08T06:08:51Z" level=info msg="Rebooting device(s)" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules153111376/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules153111376/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules153111376/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules153111376/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:08:51Z" level=debug msg="Handling state after reboot" + time="2025-02-08T06:08:51Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08: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]:52924->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52924->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 8 (*app.updateRollbackState) - time="2024-01-06T23:39:45Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:45Z" level=info msg="Handling loaded state: after-reboot" - time="2024-01-06T23:39:45Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:45Z" level=error msg="Mender shut down in state: after-reboot" - time="2024-01-06T23:39:45Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:45Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48645->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48645->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60192->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60192->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules384760062/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules384760062/work/payloads/0000/tree" - time="2024-01-06T23:39:45Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-06T23:39:45Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36960->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36960->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42230->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42230->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44758->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44758->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58840->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58840->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules384760062/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules384760062/work/payloads/0000/tree" - time="2024-01-06T23:39:45Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules384760062/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules384760062/work/payloads/0000/tree" - time="2024-01-06T23:39:45Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:45Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-06T23:39:45Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59279->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59279->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47573->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47573->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34867->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34867->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52220->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52220->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules384760062/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules384760062/work/payloads/0000/tree" - time="2024-01-06T23:39:45Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:45Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules384760062/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules384760062/work/payloads/0000/tree" - time="2024-01-06T23:39:45Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:45Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:45Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:45Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules384760062/artifact_info file." - time="2024-01-06T23:39:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules384760062/artifact_info" - time="2024-01-06T23:39:45Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:45Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.13s) + time="2025-02-08T06:08:51Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:51Z" level=info msg="Handling loaded state: after-reboot" + time="2025-02-08T06:08:51Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:51Z" level=error msg="Mender shut down in state: after-reboot" + time="2025-02-08T06:08:51Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:51Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08: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]:48323->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48323->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47113->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47113->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules153111376/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules153111376/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=debug msg="Will try to rollback reboot the device" + time="2025-02-08T06:08:51Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08: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]:59518->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59518->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54388->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54388->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:35538->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35538->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52297->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52297->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules153111376/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules153111376/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules153111376/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules153111376/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:51Z" level=debug msg="Handling state after rollback reboot" + time="2025-02-08T06:08:51Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:35729->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35729->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:49123->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:49123->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:47517->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47517->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48604->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48604->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules153111376/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules153111376/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules153111376/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules153111376/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:51Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:51Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:51Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules153111376/artifact_info file." + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules153111376/artifact_info" + time="2025-02-08T06:08:51Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:51Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.04s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback_Leave_00 state_test.go:4717: Error in ArtifactRollback_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:45Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:45Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:45Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57668->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57668->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52364->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52364->[::1]:53: read: connection refused" - time="2024-01-06T23:39:45Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:45Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:45Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:45Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules047303871/device_type" - time="2024-01-06T23:39:45Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:45Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:45Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:46Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:46Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules047303871/artifact_info file." - time="2024-01-06T23:39:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules047303871/artifact_info" - time="2024-01-06T23:39:46Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:46Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules047303871/artifact_info" - time="2024-01-06T23:39:46Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules047303871/device_type" - time="2024-01-06T23:39:46Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:46Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules047303871/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules047303871/work/payloads/0000/tree" - time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules047303871/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules047303871/work/payloads/0000/tree" - time="2024-01-06T23:39:46Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:46Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:46Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:46Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:46Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36673->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36673->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57881->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57881->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52394->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52394->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51181->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51181->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules047303871/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules047303871/work/payloads/0000/tree" - time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules047303871/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules047303871/work/payloads/0000/tree" - time="2024-01-06T23:39:46Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:46Z" level=debug msg="Module needs custom reboot" - time="2024-01-06T23:39:46Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37184->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37184->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45669->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45669->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60700->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60700->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52792->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52792->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=debug msg="Handling reboot state" - time="2024-01-06T23:39:46Z" level=info msg="Rebooting device(s)" - time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules047303871/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules047303871/work/payloads/0000/tree" - time="2024-01-06T23:39:46Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules047303871/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules047303871/work/payloads/0000/tree" - time="2024-01-06T23:39:46Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:46Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:46Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:46Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60627->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60627->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55486->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55486->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56036->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56036->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35420->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35420->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules047303871/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules047303871/work/payloads/0000/tree" - time="2024-01-06T23:39:46Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-06T23:39:46Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55405->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55405->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Ignoring error executing 'ArtifactRollback_Leave_00': 1: exit status 1" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44133->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44133->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40999->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40999->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33928->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33928->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules047303871/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules047303871/work/payloads/0000/tree" - time="2024-01-06T23:39:46Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules047303871/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules047303871/work/payloads/0000/tree" - time="2024-01-06T23:39:46Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:46Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-06T23:39:46Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53848->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53848->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51694->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51694->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37425->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37425->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56610->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56610->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules047303871/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules047303871/work/payloads/0000/tree" - time="2024-01-06T23:39:46Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:46Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules047303871/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules047303871/work/payloads/0000/tree" - time="2024-01-06T23:39:46Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:46Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:46Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:46Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:46Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules047303871/artifact_info file." - time="2024-01-06T23:39:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules047303871/artifact_info" - time="2024-01-06T23:39:46Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:46Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.35s) + time="2025-02-08T06:08:51Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:47731->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47731->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34085->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34085->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:51Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:51Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules847585401/device_type" + time="2025-02-08T06:08:51Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:51Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:51Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:51Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:51Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules847585401/artifact_info file." + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules847585401/artifact_info" + time="2025-02-08T06:08:51Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:51Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules847585401/artifact_info" + time="2025-02-08T06:08:51Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules847585401/device_type" + time="2025-02-08T06:08:51Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:51Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:51Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules847585401/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules847585401/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules847585401/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules847585401/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:51Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:38581->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38581->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38061->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38061->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:33134->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33134->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39552->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39552->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules847585401/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules847585401/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules847585401/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules847585401/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:51Z" level=debug msg="Module needs custom reboot" + time="2025-02-08T06:08:51Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08: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]:34958->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34958->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41078->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41078->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08: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]:59541->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59541->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:46348->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:46348->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="Handling reboot state" + time="2025-02-08T06:08:51Z" level=info msg="Rebooting device(s)" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules847585401/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules847585401/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules847585401/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules847585401/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:51Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:51Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:51Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08: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]:33135->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33135->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:45612->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:45612->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08: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]:53719->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:53719->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54449->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54449->[::1]:53: read: connection refused" + time="2025-02-08T06:08:51Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:51Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules847585401/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules847585401/work/payloads/0000/tree" + time="2025-02-08T06:08:51Z" level=debug msg="Will try to rollback reboot the device" + time="2025-02-08T06:08:51Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:51Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08: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]:36519->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36519->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=error msg="statescript: Ignoring error executing 'ArtifactRollback_Leave_00': 1: exit status 1" + time="2025-02-08T06:08: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]:43513->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43513->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:46198->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:46198->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39283->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39283->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules847585401/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules847585401/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules847585401/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules847585401/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:52Z" level=debug msg="Handling state after rollback reboot" + time="2025-02-08T06:08:52Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:39497->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39497->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33344->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33344->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:57089->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:57089->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51849->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51849->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules847585401/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules847585401/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules847585401/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules847585401/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:52Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:52Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:52Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules847585401/artifact_info file." + time="2025-02-08T06:08:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules847585401/artifact_info" + time="2025-02-08T06:08:52Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:52Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.11s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback_Leave_00 state_test.go:4717: Killed in ArtifactRollback_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:46Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:46Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:46Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:46Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50019->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50019->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45815->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45815->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:46Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:46Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:46Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules230421012/device_type" - time="2024-01-06T23:39:46Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:46Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:46Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:46Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:46Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules230421012/artifact_info file." - time="2024-01-06T23:39:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules230421012/artifact_info" - time="2024-01-06T23:39:46Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:46Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules230421012/artifact_info" - time="2024-01-06T23:39:46Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules230421012/device_type" - time="2024-01-06T23:39:46Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:46Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules230421012/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules230421012/work/payloads/0000/tree" - time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules230421012/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules230421012/work/payloads/0000/tree" - time="2024-01-06T23:39:46Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:46Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:46Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:46Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:46Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60476->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60476->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36625->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36625->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48620->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48620->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49772->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49772->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules230421012/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules230421012/work/payloads/0000/tree" - time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules230421012/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules230421012/work/payloads/0000/tree" - time="2024-01-06T23:39:46Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:46Z" level=debug msg="Module needs custom reboot" - time="2024-01-06T23:39:46Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40693->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40693->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40953->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40953->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42715->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42715->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43193->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43193->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=debug msg="Handling reboot state" - time="2024-01-06T23:39:46Z" level=info msg="Rebooting device(s)" - time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules230421012/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules230421012/work/payloads/0000/tree" - time="2024-01-06T23:39:46Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules230421012/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules230421012/work/payloads/0000/tree" - time="2024-01-06T23:39:46Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:46Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:46Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:46Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46314->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46314->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49636->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49636->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40462->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40462->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37098->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37098->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules230421012/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules230421012/work/payloads/0000/tree" - time="2024-01-06T23:39:46Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-06T23:39:46Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56021->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56021->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:38527->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38527->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55433->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55433->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:52Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:52Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules795247446/device_type" + time="2025-02-08T06:08:52Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:52Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:52Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:52Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:52Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules795247446/artifact_info file." + time="2025-02-08T06:08:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules795247446/artifact_info" + time="2025-02-08T06:08:52Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:52Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules795247446/artifact_info" + time="2025-02-08T06:08:52Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules795247446/device_type" + time="2025-02-08T06:08:52Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:52Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules795247446/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules795247446/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules795247446/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules795247446/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:52Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:37125->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37125->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35405->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35405->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:51633->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51633->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:53838->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:53838->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules795247446/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules795247446/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules795247446/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules795247446/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:52Z" level=debug msg="Module needs custom reboot" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08: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]:40857->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40857->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38945->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38945->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08: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]:41158->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41158->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48380->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48380->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="Handling reboot state" + time="2025-02-08T06:08:52Z" level=info msg="Rebooting device(s)" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules795247446/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules795247446/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules795247446/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules795247446/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:52Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:52Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:52Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08: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]:49578->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:49578->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40709->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40709->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08: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]:44043->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44043->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38819->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38819->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules795247446/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules795247446/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=debug msg="Will try to rollback reboot the device" + time="2025-02-08T06:08:52Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08: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]:40760->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40760->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 8 (*app.updateRollbackState) - time="2024-01-06T23:39:46Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:46Z" level=info msg="Handling loaded state: rollback" - time="2024-01-06T23:39:46Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:46Z" level=error msg="Mender shut down in state: rollback" - time="2024-01-06T23:39:46Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:46Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37595->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37595->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60627->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60627->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules230421012/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules230421012/work/payloads/0000/tree" - time="2024-01-06T23:39:46Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-06T23:39:46Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48583->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48583->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56104->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56104->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38517->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38517->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42061->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42061->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules230421012/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules230421012/work/payloads/0000/tree" - time="2024-01-06T23:39:46Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules230421012/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules230421012/work/payloads/0000/tree" - time="2024-01-06T23:39:46Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:46Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-06T23:39:46Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42767->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42767->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51717->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51717->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47306->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47306->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41706->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41706->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules230421012/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules230421012/work/payloads/0000/tree" - time="2024-01-06T23:39:46Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:46Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules230421012/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules230421012/work/payloads/0000/tree" - time="2024-01-06T23:39:46Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:46Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:46Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:46Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:46Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules230421012/artifact_info file." - time="2024-01-06T23:39:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules230421012/artifact_info" - time="2024-01-06T23:39:46Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:46Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.12s) + time="2025-02-08T06:08:52Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:52Z" level=info msg="Handling loaded state: rollback" + time="2025-02-08T06:08:52Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:52Z" level=error msg="Mender shut down in state: rollback" + time="2025-02-08T06:08:52Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:52Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08: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]:51526->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51526->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:56919->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:56919->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules795247446/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules795247446/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=debug msg="Will try to rollback reboot the device" + time="2025-02-08T06:08:52Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08: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]:34023->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34023->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43140->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43140->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:59176->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59176->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38677->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38677->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules795247446/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules795247446/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules795247446/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules795247446/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:52Z" level=debug msg="Handling state after rollback reboot" + time="2025-02-08T06:08:52Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:50525->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:50525->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35751->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35751->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:56083->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:56083->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48488->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48488->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules795247446/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules795247446/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules795247446/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules795247446/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:52Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:52Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:52Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules795247446/artifact_info file." + time="2025-02-08T06:08:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules795247446/artifact_info" + time="2025-02-08T06:08:52Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:52Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.04s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot_Leave_00 state_test.go:4717: Error in ArtifactRollbackReboot_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:46Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:46Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:46Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:46Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38968->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38968->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59635->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59635->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:46Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:46Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:46Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules844445325/device_type" - time="2024-01-06T23:39:46Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:46Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:46Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:46Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:46Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules844445325/artifact_info file." - time="2024-01-06T23:39:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules844445325/artifact_info" - time="2024-01-06T23:39:46Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:46Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules844445325/artifact_info" - time="2024-01-06T23:39:46Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules844445325/device_type" - time="2024-01-06T23:39:46Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:46Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:46Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules844445325/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules844445325/work/payloads/0000/tree" - time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules844445325/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules844445325/work/payloads/0000/tree" - time="2024-01-06T23:39:46Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:46Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:46Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:46Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:46Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36662->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36662->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48709->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48709->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52467->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52467->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59296->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59296->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules844445325/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules844445325/work/payloads/0000/tree" - time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules844445325/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules844445325/work/payloads/0000/tree" - time="2024-01-06T23:39:46Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:46Z" level=debug msg="Module needs custom reboot" - time="2024-01-06T23:39:46Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48140->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48140->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52472->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52472->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:46Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55405->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55405->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53611->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53611->[::1]:53: read: connection refused" - time="2024-01-06T23:39:46Z" level=debug msg="Handling reboot state" - time="2024-01-06T23:39:46Z" level=info msg="Rebooting device(s)" - time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules844445325/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules844445325/work/payloads/0000/tree" - time="2024-01-06T23:39:46Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:39:46Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-06T23:39:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules844445325/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules844445325/work/payloads/0000/tree" - time="2024-01-06T23:39:47Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:47Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:47Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:47Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33474->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33474->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54720->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54720->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55233->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55233->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56598->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56598->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules844445325/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules844445325/work/payloads/0000/tree" - time="2024-01-06T23:39:47Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-06T23:39:47Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47307->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47307->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56704->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56704->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43315->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43315->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49617->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49617->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules844445325/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules844445325/work/payloads/0000/tree" - time="2024-01-06T23:39:47Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules844445325/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules844445325/work/payloads/0000/tree" - time="2024-01-06T23:39:47Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:47Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-06T23:39:47Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47934->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47934->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Ignoring error executing 'ArtifactRollbackReboot_Leave_00': 1: exit status 1" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57833->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57833->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53482->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53482->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44573->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44573->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules844445325/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules844445325/work/payloads/0000/tree" - time="2024-01-06T23:39:47Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:47Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules844445325/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules844445325/work/payloads/0000/tree" - time="2024-01-06T23:39:47Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:47Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:47Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:47Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:47Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules844445325/artifact_info file." - time="2024-01-06T23:39:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules844445325/artifact_info" - time="2024-01-06T23:39:47Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:47Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.30s) + time="2025-02-08T06:08:52Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:36641->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36641->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41609->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41609->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:52Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:52Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules263138807/device_type" + time="2025-02-08T06:08:52Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:52Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:52Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:52Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:52Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules263138807/artifact_info file." + time="2025-02-08T06:08:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules263138807/artifact_info" + time="2025-02-08T06:08:52Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:52Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules263138807/artifact_info" + time="2025-02-08T06:08:52Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules263138807/device_type" + time="2025-02-08T06:08:52Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:52Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules263138807/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules263138807/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules263138807/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules263138807/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:52Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:56441->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:56441->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:50159->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:50159->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:41937->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41937->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39882->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39882->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules263138807/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules263138807/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules263138807/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules263138807/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:52Z" level=debug msg="Module needs custom reboot" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08: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]:50385->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:50385->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43439->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43439->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08: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]:55252->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55252->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:56057->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:56057->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="Handling reboot state" + time="2025-02-08T06:08:52Z" level=info msg="Rebooting device(s)" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules263138807/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules263138807/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules263138807/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules263138807/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:52Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:52Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:52Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08: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]:46823->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:46823->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42070->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42070->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08: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]:34085->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34085->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43201->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43201->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules263138807/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules263138807/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=debug msg="Will try to rollback reboot the device" + time="2025-02-08T06:08:52Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08: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]:60435->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60435->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35962->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35962->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:49767->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:49767->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:46063->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:46063->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules263138807/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules263138807/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules263138807/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules263138807/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:52Z" level=debug msg="Handling state after rollback reboot" + time="2025-02-08T06:08:52Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:54538->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54538->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=error msg="statescript: Ignoring error executing 'ArtifactRollbackReboot_Leave_00': 1: exit status 1" + time="2025-02-08T06:08: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]:42852->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42852->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:52165->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52165->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38109->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38109->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules263138807/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules263138807/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules263138807/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules263138807/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:52Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:52Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:52Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules263138807/artifact_info file." + time="2025-02-08T06:08:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules263138807/artifact_info" + time="2025-02-08T06:08:52Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:52Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.10s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot_Leave_00 state_test.go:4717: Killed in ArtifactRollbackReboot_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:47Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:47Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:47Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:47Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45381->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45381->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59116->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59116->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:47Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:47Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:47Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules656502522/device_type" - time="2024-01-06T23:39:47Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:47Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:47Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:47Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:47Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules656502522/artifact_info file." - time="2024-01-06T23:39:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules656502522/artifact_info" - time="2024-01-06T23:39:47Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:47Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules656502522/artifact_info" - time="2024-01-06T23:39:47Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules656502522/device_type" - time="2024-01-06T23:39:47Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:47Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules656502522/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules656502522/work/payloads/0000/tree" - time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules656502522/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules656502522/work/payloads/0000/tree" - time="2024-01-06T23:39:47Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:47Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:47Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:47Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:47Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36849->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36849->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57189->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57189->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35088->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35088->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44087->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44087->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules656502522/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules656502522/work/payloads/0000/tree" - time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules656502522/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules656502522/work/payloads/0000/tree" - time="2024-01-06T23:39:47Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:47Z" level=debug msg="Module needs custom reboot" - time="2024-01-06T23:39:47Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44654->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44654->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38449->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38449->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50310->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50310->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47389->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47389->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=debug msg="Handling reboot state" - time="2024-01-06T23:39:47Z" level=info msg="Rebooting device(s)" - time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules656502522/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules656502522/work/payloads/0000/tree" - time="2024-01-06T23:39:47Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules656502522/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules656502522/work/payloads/0000/tree" - time="2024-01-06T23:39:47Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:47Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:47Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:47Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46216->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46216->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33293->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33293->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48371->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48371->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44900->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44900->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules656502522/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules656502522/work/payloads/0000/tree" - time="2024-01-06T23:39:47Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-06T23:39:47Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51224->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51224->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52517->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52517->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41635->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41635->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39711->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39711->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules656502522/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules656502522/work/payloads/0000/tree" - time="2024-01-06T23:39:47Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules656502522/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules656502522/work/payloads/0000/tree" - time="2024-01-06T23:39:47Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:47Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-06T23:39:47Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47570->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47570->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:37110->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37110->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52955->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52955->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:52Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:52Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules451650988/device_type" + time="2025-02-08T06:08:52Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:52Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:52Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:52Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:52Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules451650988/artifact_info file." + time="2025-02-08T06:08:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules451650988/artifact_info" + time="2025-02-08T06:08:52Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:52Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules451650988/artifact_info" + time="2025-02-08T06:08:52Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules451650988/device_type" + time="2025-02-08T06:08:52Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:52Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules451650988/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules451650988/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules451650988/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules451650988/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:52Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:36887->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36887->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43963->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43963->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:55207->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55207->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35348->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35348->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules451650988/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules451650988/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules451650988/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules451650988/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:52Z" level=debug msg="Module needs custom reboot" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08: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]:39194->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39194->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33391->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33391->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08: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]:47459->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47459->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55814->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55814->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="Handling reboot state" + time="2025-02-08T06:08:52Z" level=info msg="Rebooting device(s)" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules451650988/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules451650988/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules451650988/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules451650988/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:52Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:52Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:52Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08: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]:45671->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:45671->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:45181->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:45181->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08: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]:58071->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58071->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42094->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42094->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules451650988/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules451650988/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=debug msg="Will try to rollback reboot the device" + time="2025-02-08T06:08:52Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08: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]:40840->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40840->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:56877->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:56877->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:55370->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55370->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:53578->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:53578->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules451650988/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules451650988/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules451650988/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules451650988/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:52Z" level=debug msg="Handling state after rollback reboot" + time="2025-02-08T06:08:52Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:51267->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51267->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 11 (*app.updateVerifyRollbackRebootState) - time="2024-01-06T23:39:47Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:47Z" level=info msg="Handling loaded state: after-rollback-reboot" - time="2024-01-06T23:39:47Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:47Z" level=error msg="Mender shut down in state: after-rollback-reboot" - time="2024-01-06T23:39:47Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:47Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules656502522/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules656502522/work/payloads/0000/tree" - time="2024-01-06T23:39:47Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:47Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-06T23:39:47Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38593->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38593->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53663->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53663->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40735->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40735->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49374->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49374->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules656502522/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules656502522/work/payloads/0000/tree" - time="2024-01-06T23:39:47Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:47Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules656502522/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules656502522/work/payloads/0000/tree" - time="2024-01-06T23:39:47Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:47Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:47Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:47Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:47Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules656502522/artifact_info file." - time="2024-01-06T23:39:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules656502522/artifact_info" - time="2024-01-06T23:39:47Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:47Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.07s) + time="2025-02-08T06:08:52Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:52Z" level=info msg="Handling loaded state: after-rollback-reboot" + time="2025-02-08T06:08:52Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:52Z" level=error msg="Mender shut down in state: after-rollback-reboot" + time="2025-02-08T06:08:52Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:52Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules451650988/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules451650988/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:52Z" level=debug msg="Handling state after rollback reboot" + time="2025-02-08T06:08:52Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:55003->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55003->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44897->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44897->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:45949->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:45949->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52199->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52199->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules451650988/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules451650988/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules451650988/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules451650988/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:52Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:52Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:52Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules451650988/artifact_info file." + time="2025-02-08T06:08:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules451650988/artifact_info" + time="2025-02-08T06:08:52Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:52Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.02s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure_Leave_00 state_test.go:4717: Error in ArtifactFailure_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:47Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:47Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:47Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:47Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59789->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59789->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57115->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57115->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:47Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:47Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:47Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules369985131/device_type" - time="2024-01-06T23:39:47Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:47Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:47Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:47Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:47Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules369985131/artifact_info file." - time="2024-01-06T23:39:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules369985131/artifact_info" - time="2024-01-06T23:39:47Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:47Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules369985131/artifact_info" - time="2024-01-06T23:39:47Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules369985131/device_type" - time="2024-01-06T23:39:47Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:47Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules369985131/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules369985131/work/payloads/0000/tree" - time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules369985131/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules369985131/work/payloads/0000/tree" - time="2024-01-06T23:39:47Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:47Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:47Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:47Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:47Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59500->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59500->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55769->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55769->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43971->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43971->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42123->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42123->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules369985131/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules369985131/work/payloads/0000/tree" - time="2024-01-06T23:39:47Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:47Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:47Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:47Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46017->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46017->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48662->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48662->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46809->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46809->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40010->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40010->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules369985131/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules369985131/work/payloads/0000/tree" - time="2024-01-06T23:39:47Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40904->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40904->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57946->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57946->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40750->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40750->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60188->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60188->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules369985131/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules369985131/work/payloads/0000/tree" - time="2024-01-06T23:39:47Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Ignoring error executing 'ArtifactFailure_Leave_00': 1: exit status 1" - time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:47Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules369985131/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules369985131/work/payloads/0000/tree" - time="2024-01-06T23:39:47Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:47Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:47Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:47Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:47Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules369985131/artifact_info file." - time="2024-01-06T23:39:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules369985131/artifact_info" - time="2024-01-06T23:39:47Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:47Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.21s) + time="2025-02-08T06:08:52Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:43356->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43356->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42451->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42451->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:52Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:52Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules205752325/device_type" + time="2025-02-08T06:08:52Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:52Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:52Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:52Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:52Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules205752325/artifact_info file." + time="2025-02-08T06:08:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules205752325/artifact_info" + time="2025-02-08T06:08:52Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:52Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules205752325/artifact_info" + time="2025-02-08T06:08:52Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules205752325/device_type" + time="2025-02-08T06:08:52Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:52Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules205752325/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules205752325/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules205752325/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules205752325/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:52Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:46781->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:46781->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43502->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43502->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:56372->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:56372->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:50669->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:50669->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules205752325/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules205752325/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:52Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:52Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08: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]:38030->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38030->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:32802->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:32802->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08: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]:42272->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42272->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:56945->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:56945->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules205752325/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules205752325/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08: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]:43541->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43541->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:45700->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:45700->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:52625->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52625->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35203->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35203->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules205752325/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules205752325/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:52Z" level=error msg="statescript: Ignoring error executing 'ArtifactFailure_Leave_00': 1: exit status 1" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules205752325/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules205752325/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:52Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:52Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:52Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules205752325/artifact_info file." + time="2025-02-08T06:08:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules205752325/artifact_info" + time="2025-02-08T06:08:52Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:52Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.07s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure_Leave_00 state_test.go:4717: Killed in ArtifactFailure_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:47Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:47Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:47Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:47Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42417->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42417->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41099->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41099->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:47Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:47Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:47Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules908886832/device_type" - time="2024-01-06T23:39:47Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:47Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:47Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:47Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:47Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules908886832/artifact_info file." - time="2024-01-06T23:39:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules908886832/artifact_info" - time="2024-01-06T23:39:47Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:47Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules908886832/artifact_info" - time="2024-01-06T23:39:47Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules908886832/device_type" - time="2024-01-06T23:39:47Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:47Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:47Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules908886832/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules908886832/work/payloads/0000/tree" - time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules908886832/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules908886832/work/payloads/0000/tree" - time="2024-01-06T23:39:47Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:47Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:47Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:47Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:47Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43578->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43578->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39989->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39989->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40870->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40870->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52802->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52802->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules908886832/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules908886832/work/payloads/0000/tree" - time="2024-01-06T23:39:47Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:47Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:47Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:47Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51204->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51204->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48737->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48737->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:47Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45665->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45665->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34869->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34869->[::1]:53: read: connection refused" - time="2024-01-06T23:39:47Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:47Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules908886832/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules908886832/work/payloads/0000/tree" - time="2024-01-06T23:39:48Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34223->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34223->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34317->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34317->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51562->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51562->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55853->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55853->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules908886832/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules908886832/work/payloads/0000/tree" - time="2024-01-06T23:39:48Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:52Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:50291->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:50291->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:49672->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:49672->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:52Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:52Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules060416978/device_type" + time="2025-02-08T06:08:52Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:52Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:52Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:52Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:52Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules060416978/artifact_info file." + time="2025-02-08T06:08:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules060416978/artifact_info" + time="2025-02-08T06:08:52Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:52Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules060416978/artifact_info" + time="2025-02-08T06:08:52Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules060416978/device_type" + time="2025-02-08T06:08:52Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:52Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules060416978/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules060416978/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules060416978/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules060416978/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:52Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:47749->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47749->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43168->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43168->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:50690->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:50690->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34195->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34195->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules060416978/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules060416978/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:52Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:52Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08: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]:36629->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36629->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40244->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40244->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08: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]:46199->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:46199->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58056->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58056->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules060416978/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules060416978/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08: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]:58038->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58038->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44759->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44759->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:52553->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52553->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36215->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36215->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules060416978/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules060416978/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 7 (*app.updateErrorState) - time="2024-01-06T23:39:48Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:48Z" level=info msg="Handling loaded state: update-error" - time="2024-01-06T23:39:48Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:48Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-06T23:39:48Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:48Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45866->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45866->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47623->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47623->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules908886832/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules908886832/work/payloads/0000/tree" - time="2024-01-06T23:39:48Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules908886832/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules908886832/work/payloads/0000/tree" - time="2024-01-06T23:39:48Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:48Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:48Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:48Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules908886832/artifact_info file." - time="2024-01-06T23:39:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules908886832/artifact_info" - time="2024-01-06T23:39:48Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:48Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.04s) + time="2025-02-08T06:08:52Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:52Z" level=info msg="Handling loaded state: update-error" + time="2025-02-08T06:08:52Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:52Z" level=error msg="Mender shut down in state: update-error" + time="2025-02-08T06:08:52Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:52Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:54456->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54456->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39356->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39356->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules060416978/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules060416978/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules060416978/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules060416978/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:52Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:52Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:52Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules060416978/artifact_info file." + time="2025-02-08T06:08:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules060416978/artifact_info" + time="2025-02-08T06:08:52Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:52Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.02s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Leave_00 state_test.go:4717: Error in ArtifactCommit_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:48Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:48Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37370->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37370->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44377->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44377->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:48Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:48Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:48Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules252784089/device_type" - time="2024-01-06T23:39:48Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:48Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:48Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:48Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:48Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules252784089/artifact_info file." - time="2024-01-06T23:39:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules252784089/artifact_info" - time="2024-01-06T23:39:48Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:48Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules252784089/artifact_info" - time="2024-01-06T23:39:48Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules252784089/device_type" - time="2024-01-06T23:39:48Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:48Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules252784089/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules252784089/work/payloads/0000/tree" - time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules252784089/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules252784089/work/payloads/0000/tree" - time="2024-01-06T23:39:48Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:48Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:48Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:48Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44171->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44171->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51579->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51579->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56772->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56772->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54132->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54132->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules252784089/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules252784089/work/payloads/0000/tree" - time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules252784089/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules252784089/work/payloads/0000/tree" - time="2024-01-06T23:39:48Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:48Z" level=debug msg="Module needs custom reboot" - time="2024-01-06T23:39:48Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43642->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43642->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44628->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44628->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40419->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40419->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50301->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50301->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=debug msg="Handling reboot state" - time="2024-01-06T23:39:48Z" level=info msg="Rebooting device(s)" - time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules252784089/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules252784089/work/payloads/0000/tree" - time="2024-01-06T23:39:48Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules252784089/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules252784089/work/payloads/0000/tree" - time="2024-01-06T23:39:48Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:39:48Z" level=debug msg="Handling state after reboot" - time="2024-01-06T23:39:48Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44437->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44437->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42197->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42197->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55761->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55761->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40524->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40524->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=debug msg="Handle update commit state" - time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules252784089/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules252784089/work/payloads/0000/tree" - time="2024-01-06T23:39:48Z" level=debug msg="Committing new artifact name: artifact-name" - time="2024-01-06T23:39:48Z" level=debug msg="Committing new artifact group name: " - time="2024-01-06T23:39:48Z" level=debug msg="Committing new artifact type-info provides" - time="2024-01-06T23:39:48Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" - time="2024-01-06T23:39:48Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2024-01-06T23:39:48Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:48Z" level=error msg="transient error: error executing leave script for update-after-commit state: error running leave state script(s) for ArtifactCommit_Leave state: statescript: error executing 'ArtifactCommit_Leave_00': 1 : exit status 1" - time="2024-01-06T23:39:48Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" - time="2024-01-06T23:39:48Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [Error]" - time="2024-01-06T23:39:48Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules252784089/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules252784089/work/payloads/0000/tree" - time="2024-01-06T23:39:48Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:48Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:48Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:48Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.24s) + time="2025-02-08T06:08:52Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:50473->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:50473->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41772->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41772->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:52Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:52Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules538830883/device_type" + time="2025-02-08T06:08:52Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:52Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:52Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:52Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:52Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules538830883/artifact_info file." + time="2025-02-08T06:08:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules538830883/artifact_info" + time="2025-02-08T06:08:52Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:52Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules538830883/artifact_info" + time="2025-02-08T06:08:52Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules538830883/device_type" + time="2025-02-08T06:08:52Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:52Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules538830883/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules538830883/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules538830883/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules538830883/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:52Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:36524->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36524->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60075->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60075->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:43559->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43559->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44722->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44722->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules538830883/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules538830883/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules538830883/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules538830883/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:52Z" level=debug msg="Module needs custom reboot" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08: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]:52772->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52772->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60538->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60538->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08: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]:60251->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60251->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43018->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43018->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="Handling reboot state" + time="2025-02-08T06:08:52Z" level=info msg="Rebooting device(s)" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules538830883/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules538830883/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules538830883/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules538830883/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:08:52Z" level=debug msg="Handling state after reboot" + time="2025-02-08T06:08:52Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08: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]:42475->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42475->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36142->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36142->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08: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]:34761->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34761->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59784->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59784->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="Handle update commit state" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules538830883/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules538830883/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=debug msg="Committing new artifact name: artifact-name" + time="2025-02-08T06:08:52Z" level=debug msg="Committing new artifact group name: " + time="2025-02-08T06:08:52Z" level=debug msg="Committing new artifact type-info provides" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:52Z" 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="2025-02-08T06:08:52Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [Error]" + time="2025-02-08T06:08:52Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules538830883/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules538830883/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:52Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:52Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:52Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.08s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Leave_00 state_test.go:4717: Killed in ArtifactCommit_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:48Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:48Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50345->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50345->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50328->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50328->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:48Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:48Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:48Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules140929078/device_type" - time="2024-01-06T23:39:48Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:48Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:48Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:48Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:48Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules140929078/artifact_info file." - time="2024-01-06T23:39:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules140929078/artifact_info" - time="2024-01-06T23:39:48Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:48Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules140929078/artifact_info" - time="2024-01-06T23:39:48Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules140929078/device_type" - time="2024-01-06T23:39:48Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:48Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules140929078/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules140929078/work/payloads/0000/tree" - time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules140929078/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules140929078/work/payloads/0000/tree" - time="2024-01-06T23:39:48Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:48Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:48Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:48Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59990->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59990->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53493->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53493->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60912->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60912->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42913->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42913->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules140929078/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules140929078/work/payloads/0000/tree" - time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules140929078/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules140929078/work/payloads/0000/tree" - time="2024-01-06T23:39:48Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:48Z" level=debug msg="Module needs custom reboot" - time="2024-01-06T23:39:48Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60417->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60417->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47807->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47807->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46434->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46434->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57237->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57237->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=debug msg="Handling reboot state" - time="2024-01-06T23:39:48Z" level=info msg="Rebooting device(s)" - time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules140929078/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules140929078/work/payloads/0000/tree" - time="2024-01-06T23:39:48Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules140929078/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules140929078/work/payloads/0000/tree" - time="2024-01-06T23:39:48Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:39:48Z" level=debug msg="Handling state after reboot" - time="2024-01-06T23:39:48Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47047->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47047->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60468->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60468->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48567->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48567->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45697->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45697->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=debug msg="Handle update commit state" - time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules140929078/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules140929078/work/payloads/0000/tree" - time="2024-01-06T23:39:48Z" level=debug msg="Committing new artifact name: artifact-name" - time="2024-01-06T23:39:48Z" level=debug msg="Committing new artifact group name: " - time="2024-01-06T23:39:48Z" level=debug msg="Committing new artifact type-info provides" - time="2024-01-06T23:39:48Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" - time="2024-01-06T23:39:48Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2024-01-06T23:39:48Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:52Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:48764->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48764->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55008->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55008->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:52Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:52Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules443618120/device_type" + time="2025-02-08T06:08:52Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:52Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:52Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:52Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:52Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules443618120/artifact_info file." + time="2025-02-08T06:08:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules443618120/artifact_info" + time="2025-02-08T06:08:52Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:52Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules443618120/artifact_info" + time="2025-02-08T06:08:52Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules443618120/device_type" + time="2025-02-08T06:08:52Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:52Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules443618120/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules443618120/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules443618120/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules443618120/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:52Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:35659->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35659->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:50383->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:50383->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:54104->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54104->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42217->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42217->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules443618120/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules443618120/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules443618120/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules443618120/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:52Z" level=debug msg="Module needs custom reboot" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08: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]:40415->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40415->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59720->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59720->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08: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]:35963->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35963->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48861->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48861->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="Handling reboot state" + time="2025-02-08T06:08:52Z" level=info msg="Rebooting device(s)" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules443618120/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules443618120/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules443618120/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules443618120/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:08:52Z" level=debug msg="Handling state after reboot" + time="2025-02-08T06:08:52Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08: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]:55034->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55034->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37889->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37889->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08: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]:48106->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48106->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44004->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44004->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="Handle update commit state" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules443618120/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules443618120/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=debug msg="Committing new artifact name: artifact-name" + time="2025-02-08T06:08:52Z" level=debug msg="Committing new artifact group name: " + time="2025-02-08T06:08:52Z" level=debug msg="Committing new artifact type-info provides" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 11 (*app.updateAfterCommitState) - time="2024-01-06T23:39:48Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:48Z" level=info msg="Handling loaded state: update-after-commit" - time="2024-01-06T23:39:48Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:48Z" level=error msg="Mender shut down in state: update-after-commit" - time="2024-01-06T23:39:48Z" level=info msg="State transition: init [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2024-01-06T23:39:48Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:48Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules140929078/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules140929078/work/payloads/0000/tree" - time="2024-01-06T23:39:48Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" - time="2024-01-06T23:39:48Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:48Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:48Z" level=debug msg="Returning artifact name artifact-name from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.02s) + time="2025-02-08T06:08:52Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:52Z" level=info msg="Handling loaded state: update-after-commit" + time="2025-02-08T06:08:52Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:52Z" level=error msg="Mender shut down in state: update-after-commit" + time="2025-02-08T06:08:52Z" level=info msg="State transition: init [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules443618120/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules443618120/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" + time="2025-02-08T06:08:52Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:52Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:52Z" level=debug msg="Returning artifact name artifact-name from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.01s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Leave_00,_no_reboot state_test.go:4717: Error in ArtifactCommit_Leave_00, no reboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:48Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:48Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52689->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52689->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53816->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53816->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:48Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:48Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:48Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules457502807/device_type" - time="2024-01-06T23:39:48Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:48Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:48Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:48Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:48Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules457502807/artifact_info file." - time="2024-01-06T23:39:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules457502807/artifact_info" - time="2024-01-06T23:39:48Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:48Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules457502807/artifact_info" - time="2024-01-06T23:39:48Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules457502807/device_type" - time="2024-01-06T23:39:48Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:48Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules457502807/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules457502807/work/payloads/0000/tree" - time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules457502807/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules457502807/work/payloads/0000/tree" - time="2024-01-06T23:39:48Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:48Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:48Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:48Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50675->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50675->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43315->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43315->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38857->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38857->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35001->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35001->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules457502807/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules457502807/work/payloads/0000/tree" - time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules457502807/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules457502807/work/payloads/0000/tree" - time="2024-01-06T23:39:48Z" level=debug msg="Update module output: No" - time="2024-01-06T23:39:48Z" level=debug msg="Module does not need reboot" - time="2024-01-06T23:39:48Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54962->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54962->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53862->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53862->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33985->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33985->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35800->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35800->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=debug msg="Handle update commit state" - time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules457502807/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules457502807/work/payloads/0000/tree" - time="2024-01-06T23:39:48Z" level=debug msg="Committing new artifact name: artifact-name" - time="2024-01-06T23:39:48Z" level=debug msg="Committing new artifact group name: " - time="2024-01-06T23:39:48Z" level=debug msg="Committing new artifact type-info provides" - time="2024-01-06T23:39:48Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" - time="2024-01-06T23:39:48Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2024-01-06T23:39:48Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:48Z" level=error msg="transient error: error executing leave script for update-after-commit state: error running leave state script(s) for ArtifactCommit_Leave state: statescript: error executing 'ArtifactCommit_Leave_00': 1 : exit status 1" - time="2024-01-06T23:39:48Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" - time="2024-01-06T23:39:48Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [Error]" - time="2024-01-06T23:39:48Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules457502807/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules457502807/work/payloads/0000/tree" - time="2024-01-06T23:39:48Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:48Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:48Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:48Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.23s) + time="2025-02-08T06:08:52Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:40019->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40019->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:46116->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:46116->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:52Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:52Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules557706193/device_type" + time="2025-02-08T06:08:52Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:52Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:52Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:52Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:52Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules557706193/artifact_info file." + time="2025-02-08T06:08:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules557706193/artifact_info" + time="2025-02-08T06:08:52Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:52Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules557706193/artifact_info" + time="2025-02-08T06:08:52Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules557706193/device_type" + time="2025-02-08T06:08:52Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:52Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules557706193/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules557706193/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules557706193/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules557706193/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:52Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:40458->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40458->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54571->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54571->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:57509->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:57509->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41276->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41276->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules557706193/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules557706193/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules557706193/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules557706193/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=debug msg="Update module output: No" + time="2025-02-08T06:08:52Z" level=debug msg="Module does not need reboot" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08: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]:48049->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48049->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54993->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54993->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08: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]:59245->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59245->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51625->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51625->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="Handle update commit state" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules557706193/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules557706193/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=debug msg="Committing new artifact name: artifact-name" + time="2025-02-08T06:08:52Z" level=debug msg="Committing new artifact group name: " + time="2025-02-08T06:08:52Z" level=debug msg="Committing new artifact type-info provides" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:52Z" 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="2025-02-08T06:08:52Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [Error]" + time="2025-02-08T06:08:52Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules557706193/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules557706193/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:52Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:52Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:52Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.06s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Leave_00,_no_reboot state_test.go:4717: Killed in ArtifactCommit_Leave_00, no reboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:48Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:48Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41224->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41224->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37020->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37020->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:48Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:48Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:48Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules139096972/device_type" - time="2024-01-06T23:39:48Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:48Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:48Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:48Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:48Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules139096972/artifact_info file." - time="2024-01-06T23:39:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules139096972/artifact_info" - time="2024-01-06T23:39:48Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:48Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules139096972/artifact_info" - time="2024-01-06T23:39:48Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules139096972/device_type" - time="2024-01-06T23:39:48Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:48Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:48Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules139096972/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules139096972/work/payloads/0000/tree" - time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules139096972/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules139096972/work/payloads/0000/tree" - time="2024-01-06T23:39:48Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:48Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:48Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:48Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33731->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33731->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58031->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58031->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40687->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40687->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59814->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59814->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules139096972/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules139096972/work/payloads/0000/tree" - time="2024-01-06T23:39:48Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:39:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules139096972/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules139096972/work/payloads/0000/tree" - time="2024-01-06T23:39:48Z" level=debug msg="Update module output: No" - time="2024-01-06T23:39:48Z" level=debug msg="Module does not need reboot" - time="2024-01-06T23:39:48Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50771->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50771->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52372->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52372->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:48Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56148->[::1]:53: read: connection refused" - time="2024-01-06T23:39:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56148->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53668->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53668->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=debug msg="Handle update commit state" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules139096972/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules139096972/work/payloads/0000/tree" - time="2024-01-06T23:39:49Z" level=debug msg="Committing new artifact name: artifact-name" - time="2024-01-06T23:39:49Z" level=debug msg="Committing new artifact group name: " - time="2024-01-06T23:39:49Z" level=debug msg="Committing new artifact type-info provides" - time="2024-01-06T23:39:49Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" - time="2024-01-06T23:39:49Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2024-01-06T23:39:49Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:52Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:49275->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:49275->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42071->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42071->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:52Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:52Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules178385806/device_type" + time="2025-02-08T06:08:52Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:52Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:52Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:52Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:52Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules178385806/artifact_info file." + time="2025-02-08T06:08:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules178385806/artifact_info" + time="2025-02-08T06:08:52Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:52Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules178385806/artifact_info" + time="2025-02-08T06:08:52Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules178385806/device_type" + time="2025-02-08T06:08:52Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:52Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:52Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules178385806/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules178385806/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules178385806/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules178385806/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:52Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:48390->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48390->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52675->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52675->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:34602->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34602->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42454->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42454->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules178385806/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules178385806/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules178385806/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules178385806/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=debug msg="Update module output: No" + time="2025-02-08T06:08:52Z" level=debug msg="Module does not need reboot" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08: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]:48408->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48408->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44481->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44481->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08: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]:46835->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:46835->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38624->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38624->[::1]:53: read: connection refused" + time="2025-02-08T06:08:52Z" level=debug msg="Handle update commit state" + time="2025-02-08T06:08:52Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2025-02-08T06:08:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules178385806/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules178385806/work/payloads/0000/tree" + time="2025-02-08T06:08:52Z" level=debug msg="Committing new artifact name: artifact-name" + time="2025-02-08T06:08:52Z" level=debug msg="Committing new artifact group name: " + time="2025-02-08T06:08:52Z" level=debug msg="Committing new artifact type-info provides" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2025-02-08T06:08:52Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2025-02-08T06:08:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:52Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 8 (*app.updateAfterCommitState) - time="2024-01-06T23:39:49Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:49Z" level=info msg="Handling loaded state: update-after-commit" - time="2024-01-06T23:39:49Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:49Z" level=error msg="Mender shut down in state: update-after-commit" - time="2024-01-06T23:39:49Z" level=info msg="State transition: init [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2024-01-06T23:39:49Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:49Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules139096972/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules139096972/work/payloads/0000/tree" - time="2024-01-06T23:39:49Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" - time="2024-01-06T23:39:49Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:49Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:49Z" level=debug msg="Returning artifact name artifact-name from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.02s) + time="2025-02-08T06:08:53Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:53Z" level=info msg="Handling loaded state: update-after-commit" + time="2025-02-08T06:08:53Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:53Z" level=error msg="Mender shut down in state: update-after-commit" + time="2025-02-08T06:08:53Z" level=info msg="State transition: init [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2025-02-08T06:08:53Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:53Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules178385806/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules178385806/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" + time="2025-02-08T06:08:53Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:53Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:53Z" level=debug msg="Returning artifact name artifact-name from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.01s) PASS === RUN TestStateTransitionsWithUpdateModules/Break_out_of_error_loop state_test.go:4717: Break out of error loop state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:49Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:49Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48905->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48905->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46589->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46589->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:49Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:49Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:49Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules964978021/device_type" - time="2024-01-06T23:39:49Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:49Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:49Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:49Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:49Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules964978021/artifact_info file." - time="2024-01-06T23:39:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules964978021/artifact_info" - time="2024-01-06T23:39:49Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:49Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules964978021/artifact_info" - time="2024-01-06T23:39:49Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules964978021/device_type" - time="2024-01-06T23:39:49Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:49Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:49Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:49Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:49Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:49Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:49Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56291->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56291->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40652->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40652->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42749->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42749->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38226->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38226->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:49Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:49Z" level=debug msg="Module needs custom reboot" - time="2024-01-06T23:39:49Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45800->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45800->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36289->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36289->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50938->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50938->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52647->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52647->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=debug msg="Handling reboot state" - time="2024-01-06T23:39:49Z" level=info msg="Rebooting device(s)" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:49Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:49Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:49Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:49Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:49Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49447->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49447->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40334->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40334->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49002->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49002->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51092->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51092->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:49Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-06T23:39:49Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55749->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55749->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57022->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57022->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55187->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55187->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38835->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38835->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:49Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:49Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:49Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:49Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39581->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39581->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57770->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57770->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43506->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43506->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34151->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34151->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:49Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:49Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:49Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:49Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45302->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45302->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50303->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50303->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35404->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35404->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57034->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57034->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:49Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:49Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:49Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:49Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56021->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56021->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47568->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47568->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39357->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39357->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52458->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52458->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:49Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:49Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:49Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:49Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41455->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41455->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44539->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44539->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36341->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36341->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39232->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39232->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:49Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:49Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:49Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:49Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42288->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42288->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56782->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56782->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45079->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45079->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39086->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39086->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:49Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:49Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:49Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:49Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51476->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51476->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35444->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35444->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43223->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43223->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42130->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42130->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:49Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:49Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:49Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:49Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48209->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48209->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50785->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50785->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41683->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41683->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35684->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35684->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:49Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:49Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:49Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:49Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60944->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60944->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54506->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54506->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45139->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45139->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54715->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54715->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:49Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:49Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:49Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:49Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48205->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48205->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59088->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59088->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41933->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41933->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45107->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45107->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:49Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:49Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:49Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:49Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57825->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57825->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48821->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48821->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38085->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38085->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37811->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37811->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:49Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:49Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:49Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:49Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49963->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49963->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39243->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39243->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39159->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39159->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57802->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57802->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:49Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:49Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:49Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:49Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57159->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57159->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60297->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60297->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34022->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34022->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34447->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34447->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:49Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:49Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:49Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:49Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44220->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44220->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50650->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50650->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35912->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35912->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45179->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45179->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:49Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:49Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:49Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:49Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49564->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49564->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33866->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33866->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55310->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55310->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40720->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40720->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:49Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:49Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:49Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:49Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49660->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49660->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57977->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57977->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49244->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49244->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33090->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33090->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:49Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:49Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:49Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:49Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47405->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47405->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41692->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41692->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48696->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48696->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56498->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56498->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:49Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:49Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:49Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:49Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48999->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48999->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39939->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39939->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42317->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42317->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40093->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40093->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:49Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:49Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:49Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:49Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:49Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49241->[::1]:53: read: connection refused" - time="2024-01-06T23:39:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49241->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34686->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34686->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58013->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58013->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50682->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50682->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:50Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:50Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:50Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:50Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41593->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41593->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52609->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52609->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57861->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57861->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56890->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56890->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:50Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:50Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:50Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:50Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42860->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42860->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52064->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52064->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59534->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59534->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42544->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42544->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:50Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:50Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:50Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:50Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40050->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40050->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43791->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43791->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42507->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42507->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33122->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33122->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:50Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:50Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:50Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:50Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46785->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46785->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34586->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34586->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34945->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34945->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53317->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53317->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:50Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:50Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:50Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:50Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56262->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56262->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35930->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35930->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38389->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38389->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50927->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50927->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:50Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:50Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:50Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:50Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52174->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52174->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33548->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33548->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42648->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42648->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45844->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45844->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:50Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:50Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:50Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:50Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33687->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33687->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49604->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49604->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45838->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45838->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52747->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52747->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:50Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:50Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:50Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:50Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39048->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39048->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38534->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38534->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56970->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56970->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58883->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58883->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:50Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:50Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:50Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:50Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53765->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53765->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46343->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46343->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34673->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34673->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55435->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55435->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:50Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:50Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:50Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:50Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42849->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42849->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49285->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49285->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50033->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50033->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35987->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35987->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:50Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:50Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:50Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:50Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52600->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52600->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56167->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56167->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40679->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40679->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38315->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38315->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:50Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964978021/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules964978021/work/payloads/0000/tree" - time="2024-01-06T23:39:50Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:50Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:50Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37843->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37843->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47566->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47566->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="Could not write state data to persistent storage: State data stored and retrieved maximum number of times" - time="2024-01-06T23:39:50Z" level=error msg="State transition loop detected in state rollback-reboot: Forcefully aborting update. The system is likely to be in an inconsistent state after this." - time="2024-01-06T23:39:50Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" - time="2024-01-06T23:39:50Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> update-status-report [none]" - time="2024-01-06T23:39:50Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:50Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:50Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:50Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." - --- PASS: TestStateTransitionsWithUpdateModules (1.34s) + time="2025-02-08T06:08:53Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:53Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:58844->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58844->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36671->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36671->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:53Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:53Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:53Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules675341967/device_type" + time="2025-02-08T06:08:53Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:53Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:53Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:53Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:53Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:53Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:53Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:53Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:53Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:53Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:53Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:53Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:53Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:53Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:53Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:53Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:53Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:53Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:53Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:53Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:53Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:53Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:53Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules675341967/artifact_info file." + time="2025-02-08T06:08:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules675341967/artifact_info" + time="2025-02-08T06:08:53Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:53Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules675341967/artifact_info" + time="2025-02-08T06:08:53Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules675341967/device_type" + time="2025-02-08T06:08:53Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:53Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:53Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:53Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:53Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:53Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:52452->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52452->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:53773->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:53773->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:54515->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54515->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58463->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58463->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:53Z" level=debug msg="Module needs custom reboot" + time="2025-02-08T06:08:53Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08: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]:44727->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44727->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37757->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37757->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08: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]:55973->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55973->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47010->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47010->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="Handling reboot state" + time="2025-02-08T06:08:53Z" level=info msg="Rebooting device(s)" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:53Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08: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]:50244->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:50244->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35011->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35011->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08: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]:60003->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60003->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41349->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41349->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=debug msg="Will try to rollback reboot the device" + time="2025-02-08T06:08:53Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08: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]:35880->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35880->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38370->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38370->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:45769->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:45769->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44142->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44142->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:55823->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55823->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34148->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34148->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:41485->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41485->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40878->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40878->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:51469->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51469->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40955->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40955->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:60976->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60976->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:32938->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:32938->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:41344->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41344->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42195->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42195->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:33212->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33212->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:53160->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:53160->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:49250->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:49250->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59989->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59989->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:51560->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51560->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48409->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48409->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:48728->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48728->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37004->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37004->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:44562->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44562->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37352->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37352->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:38339->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38339->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43913->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43913->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:42366->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42366->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60199->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60199->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:51149->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51149->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51771->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51771->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:35157->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35157->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54633->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54633->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:50943->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:50943->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38564->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38564->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:46281->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:46281->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55625->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55625->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:37364->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37364->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52996->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52996->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:55575->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55575->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59899->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59899->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:51317->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51317->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55728->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55728->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:39070->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39070->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:57519->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:57519->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:40115->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40115->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34278->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34278->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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="2025-02-08T06:08: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="2025-02-08T06:08: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]:48895->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48895->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:35312->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35312->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55678->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55678->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:35861->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35861->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:45486->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:45486->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:56072->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:56072->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37664->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37664->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:50527->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:50527->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58859->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58859->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:60215->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60215->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55600->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55600->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:44702->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44702->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59424->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59424->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:42515->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42515->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37145->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37145->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:41084->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41084->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42493->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42493->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:35958->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35958->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:46159->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:46159->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:54328->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54328->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34434->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34434->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:37748->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37748->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:45861->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:45861->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:55140->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55140->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35296->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35296->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:49186->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:49186->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:45113->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:45113->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:39205->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39205->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60450->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60450->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:47968->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47968->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:49865->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:49865->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:35258->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35258->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59470->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59470->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:47912->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47912->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60633->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60633->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:37998->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37998->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:45348->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:45348->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:57359->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:57359->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54095->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54095->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:35446->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35446->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:57266->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:57266->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:59108->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59108->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33479->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33479->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:51558->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51558->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40332->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40332->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:35572->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35572->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52621->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52621->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:55149->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55149->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38341->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38341->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:46822->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:46822->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:56384->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:56384->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:36854->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36854->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54039->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:54039->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:55731->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55731->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37765->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37765->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:41904->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41904->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:53416->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:53416->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:49215->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:49215->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38952->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38952->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:44298->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44298->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38110->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38110->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:58905->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58905->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36480->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36480->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:46192->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:46192->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:50811->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:50811->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:50389->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:50389->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47552->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47552->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:59944->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59944->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42630->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42630->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:48891->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48891->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40245->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40245->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:32914->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:32914->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38276->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:38276->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules675341967/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules675341967/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:51102->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51102->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40773->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:40773->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=error msg="Could not write state data to persistent storage: State data stored and retrieved maximum number of times" + time="2025-02-08T06:08:53Z" 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="2025-02-08T06:08:53Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" + time="2025-02-08T06:08:53Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> update-status-report [none]" + time="2025-02-08T06:08:53Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:53Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:53Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:53Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.53s) PASS === RUN TestStateTransitionsWithUpdateModules/Break_out_of_spontaneous_reboot_loop state_test.go:4717: Break out of spontaneous reboot loop state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:50Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:50Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:50Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:50Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58346->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58346->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39030->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39030->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:50Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:50Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:50Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules822354610/device_type" - time="2024-01-06T23:39:50Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:50Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:50Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:50Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:50Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules822354610/artifact_info file." - time="2024-01-06T23:39:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules822354610/artifact_info" - time="2024-01-06T23:39:50Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:50Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules822354610/artifact_info" - time="2024-01-06T23:39:50Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules822354610/device_type" - time="2024-01-06T23:39:50Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:50Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:50Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" - time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" - time="2024-01-06T23:39:50Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:50Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:50Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:50Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:50Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40528->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40528->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51045->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51045->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46917->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46917->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41250->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41250->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" - time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" - time="2024-01-06T23:39:50Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:50Z" level=debug msg="Module needs custom reboot" - time="2024-01-06T23:39:50Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40575->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40575->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60099->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60099->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42048->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42048->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45174->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45174->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=debug msg="Handling reboot state" - time="2024-01-06T23:39:50Z" level=info msg="Rebooting device(s)" - time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" - time="2024-01-06T23:39:50Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" - time="2024-01-06T23:39:50Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:50Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-06T23:39:50Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2024-01-06T23:39:50Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45978->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45978->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56317->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56317->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56194->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56194->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43170->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43170->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=info msg="Performing rollback" - time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" - time="2024-01-06T23:39:50Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-06T23:39:50Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50277->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50277->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40496->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40496->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34007->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34007->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38311->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38311->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" - time="2024-01-06T23:39:50Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" - time="2024-01-06T23:39:50Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:39:50Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-06T23:39:50Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56251->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56251->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54260->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54260->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49936->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49936->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35435->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35435->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:53Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:58001->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58001->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35874->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35874->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:53Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:53Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:53Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules296987172/device_type" + time="2025-02-08T06:08:53Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:53Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:53Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:53Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:53Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:53Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:53Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:53Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:53Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:53Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:53Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:53Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:53Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:53Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:53Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:53Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:53Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:53Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:53Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:53Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:53Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:53Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:53Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules296987172/artifact_info file." + time="2025-02-08T06:08:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules296987172/artifact_info" + time="2025-02-08T06:08:53Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:53Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules296987172/artifact_info" + time="2025-02-08T06:08:53Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules296987172/device_type" + time="2025-02-08T06:08:53Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:53Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:53Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules296987172/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules296987172/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules296987172/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules296987172/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:53Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:53Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:53Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:50824->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:50824->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59695->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59695->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:39802->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39802->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60809->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60809->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules296987172/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules296987172/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules296987172/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules296987172/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:53Z" level=debug msg="Module needs custom reboot" + time="2025-02-08T06:08:53Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08: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]:41473->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41473->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39542->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39542->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08: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]:34536->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34536->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60117->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:60117->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="Handling reboot state" + time="2025-02-08T06:08:53Z" level=info msg="Rebooting device(s)" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules296987172/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules296987172/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules296987172/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules296987172/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2025-02-08T06:08:53Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2025-02-08T06:08:53Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08: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]:51974->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51974->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59217->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59217->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08: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]:52371->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:52371->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35868->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35868->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=info msg="Performing rollback" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules296987172/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules296987172/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=debug msg="Will try to rollback reboot the device" + time="2025-02-08T06:08:53Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08: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]:48479->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48479->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36671->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36671->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08: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]:44000->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44000->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:57014->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:57014->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules296987172/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules296987172/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules296987172/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules296987172/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:08:53Z" level=debug msg="Handling state after rollback reboot" + time="2025-02-08T06:08:53Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08: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]:35871->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35871->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44526->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44526->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:39958->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39958->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:46320->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:46320->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules296987172/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules296987172/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 11 (*app.updateErrorState) - time="2024-01-06T23:39:50Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:50Z" level=info msg="Handling loaded state: update-error" - time="2024-01-06T23:39:50Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:50Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-06T23:39:50Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:50Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52816->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52816->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47332->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47332->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:53Z" level=info msg="Handling loaded state: update-error" + time="2025-02-08T06:08:53Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:53Z" level=error msg="Mender shut down in state: update-error" + time="2025-02-08T06:08:53Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:53Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:34726->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34726->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43905->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43905->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules296987172/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules296987172/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 12 (*app.updateErrorState) - time="2024-01-06T23:39:50Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:50Z" level=info msg="Handling loaded state: update-error" - time="2024-01-06T23:39:50Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:50Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-06T23:39:50Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:50Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37801->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37801->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35469->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35469->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:53Z" level=info msg="Handling loaded state: update-error" + time="2025-02-08T06:08:53Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:53Z" level=error msg="Mender shut down in state: update-error" + time="2025-02-08T06:08:53Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:53Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:59290->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:59290->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42615->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42615->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules296987172/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules296987172/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 13 (*app.updateErrorState) - time="2024-01-06T23:39:50Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:50Z" level=info msg="Handling loaded state: update-error" - time="2024-01-06T23:39:50Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:50Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-06T23:39:50Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:50Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53656->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53656->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48178->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48178->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:53Z" level=info msg="Handling loaded state: update-error" + time="2025-02-08T06:08:53Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:53Z" level=error msg="Mender shut down in state: update-error" + time="2025-02-08T06:08:53Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:53Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:48553->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48553->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37255->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37255->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules296987172/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules296987172/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 14 (*app.updateErrorState) - time="2024-01-06T23:39:50Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:50Z" level=info msg="Handling loaded state: update-error" - time="2024-01-06T23:39:50Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:50Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-06T23:39:50Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:50Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56938->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56938->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47608->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47608->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:53Z" level=info msg="Handling loaded state: update-error" + time="2025-02-08T06:08:53Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:53Z" level=error msg="Mender shut down in state: update-error" + time="2025-02-08T06:08:53Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:53Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:46228->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:46228->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48171->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:48171->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules296987172/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules296987172/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 15 (*app.updateErrorState) - time="2024-01-06T23:39:50Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:50Z" level=info msg="Handling loaded state: update-error" - time="2024-01-06T23:39:50Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:50Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-06T23:39:50Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:50Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:50Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53015->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53015->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45184->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45184->[::1]:53: read: connection refused" - time="2024-01-06T23:39:50Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:50Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:53Z" level=info msg="Handling loaded state: update-error" + time="2025-02-08T06:08:53Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:53Z" level=error msg="Mender shut down in state: update-error" + time="2025-02-08T06:08:53Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:53Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:43814->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43814->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:46351->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:46351->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules296987172/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules296987172/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 16 (*app.updateErrorState) - time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:51Z" level=info msg="Handling loaded state: update-error" - time="2024-01-06T23:39:51Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:51Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:51Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57463->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57463->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40338->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40338->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:51Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:53Z" level=info msg="Handling loaded state: update-error" + time="2025-02-08T06:08:53Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:53Z" level=error msg="Mender shut down in state: update-error" + time="2025-02-08T06:08:53Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:53Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:42939->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:42939->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33017->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33017->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules296987172/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules296987172/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 17 (*app.updateErrorState) - time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:51Z" level=info msg="Handling loaded state: update-error" - time="2024-01-06T23:39:51Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:51Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:51Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37901->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37901->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58321->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58321->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:51Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:53Z" level=info msg="Handling loaded state: update-error" + time="2025-02-08T06:08:53Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:53Z" level=error msg="Mender shut down in state: update-error" + time="2025-02-08T06:08:53Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:53Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:41157->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41157->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33023->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33023->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules296987172/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules296987172/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 18 (*app.updateErrorState) - time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:51Z" level=info msg="Handling loaded state: update-error" - time="2024-01-06T23:39:51Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:51Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:51Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55713->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55713->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46731->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46731->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:51Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:53Z" level=info msg="Handling loaded state: update-error" + time="2025-02-08T06:08:53Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:53Z" level=error msg="Mender shut down in state: update-error" + time="2025-02-08T06:08:53Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:53Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:39377->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:39377->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43704->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43704->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules296987172/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules296987172/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 19 (*app.updateErrorState) - time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:51Z" level=info msg="Handling loaded state: update-error" - time="2024-01-06T23:39:51Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:51Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:51Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47974->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47974->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51301->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51301->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:51Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:53Z" level=info msg="Handling loaded state: update-error" + time="2025-02-08T06:08:53Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:53Z" level=error msg="Mender shut down in state: update-error" + time="2025-02-08T06:08:53Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:53Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:36822->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:36822->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43267->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:43267->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules296987172/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules296987172/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 20 (*app.updateErrorState) - time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:51Z" level=info msg="Handling loaded state: update-error" - time="2024-01-06T23:39:51Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:51Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:51Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51389->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51389->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57987->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57987->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:51Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:53Z" level=info msg="Handling loaded state: update-error" + time="2025-02-08T06:08:53Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:53Z" level=error msg="Mender shut down in state: update-error" + time="2025-02-08T06:08:53Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:53Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:33653->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33653->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47595->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47595->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules296987172/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules296987172/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 21 (*app.updateErrorState) - time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:51Z" level=info msg="Handling loaded state: update-error" - time="2024-01-06T23:39:51Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:51Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:51Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58532->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58532->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47378->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47378->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:51Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:53Z" level=info msg="Handling loaded state: update-error" + time="2025-02-08T06:08:53Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:53Z" level=error msg="Mender shut down in state: update-error" + time="2025-02-08T06:08:53Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:53Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:47119->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47119->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55173->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:55173->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules296987172/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules296987172/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 22 (*app.updateErrorState) - time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:51Z" level=info msg="Handling loaded state: update-error" - time="2024-01-06T23:39:51Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:51Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:51Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57075->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57075->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53311->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53311->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:51Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:53Z" level=info msg="Handling loaded state: update-error" + time="2025-02-08T06:08:53Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:53Z" level=error msg="Mender shut down in state: update-error" + time="2025-02-08T06:08:53Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:53Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:57535->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:57535->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58662->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:58662->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules296987172/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules296987172/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 23 (*app.updateErrorState) - time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:51Z" level=info msg="Handling loaded state: update-error" - time="2024-01-06T23:39:51Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:51Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:51Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47083->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47083->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36690->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36690->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:51Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:53Z" level=info msg="Handling loaded state: update-error" + time="2025-02-08T06:08:53Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:53Z" level=error msg="Mender shut down in state: update-error" + time="2025-02-08T06:08:53Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:53Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:47550->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:47550->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44994->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44994->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules296987172/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules296987172/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 24 (*app.updateErrorState) - time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:51Z" level=info msg="Handling loaded state: update-error" - time="2024-01-06T23:39:51Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:51Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:51Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56594->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56594->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55045->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55045->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:51Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:53Z" level=info msg="Handling loaded state: update-error" + time="2025-02-08T06:08:53Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:53Z" level=error msg="Mender shut down in state: update-error" + time="2025-02-08T06:08:53Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:53Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:51604->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:51604->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33395->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:33395->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules296987172/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules296987172/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 25 (*app.updateErrorState) - time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:51Z" level=info msg="Handling loaded state: update-error" - time="2024-01-06T23:39:51Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:51Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:51Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54832->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54832->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33198->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33198->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:51Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" + time="2025-02-08T06:08:53Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:53Z" level=info msg="Handling loaded state: update-error" + time="2025-02-08T06:08:53Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:53Z" level=error msg="Mender shut down in state: update-error" + time="2025-02-08T06:08:53Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:53Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:53Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08: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]:34661->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:34661->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37870->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:37870->[::1]:53: read: connection refused" + time="2025-02-08T06:08:53Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:53Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules296987172/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules296987172/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 26 (*app.updateErrorState) - time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:51Z" level=info msg="Handling loaded state: update-error" - time="2024-01-06T23:39:51Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:51Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:51Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37109->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37109->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51498->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51498->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:51Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" + time="2025-02-08T06:08:54Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:54Z" level=info msg="Handling loaded state: update-error" + time="2025-02-08T06:08:54Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:54Z" level=error msg="Mender shut down in state: update-error" + time="2025-02-08T06:08:54Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:54Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:54Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56139->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56139->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47445->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47445->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:54Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules296987172/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules296987172/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 27 (*app.updateErrorState) - time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:51Z" level=info msg="Handling loaded state: update-error" - time="2024-01-06T23:39:51Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:51Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:51Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51315->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51315->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47065->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47065->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:51Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" + time="2025-02-08T06:08:54Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:54Z" level=info msg="Handling loaded state: update-error" + time="2025-02-08T06:08:54Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:54Z" level=error msg="Mender shut down in state: update-error" + time="2025-02-08T06:08:54Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:54Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:54Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43345->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43345->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58485->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58485->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:54Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules296987172/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules296987172/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 28 (*app.updateErrorState) - time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:51Z" level=info msg="Handling loaded state: update-error" - time="2024-01-06T23:39:51Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:51Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:51Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37004->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37004->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47215->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47215->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:51Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" + time="2025-02-08T06:08:54Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:54Z" level=info msg="Handling loaded state: update-error" + time="2025-02-08T06:08:54Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:54Z" level=error msg="Mender shut down in state: update-error" + time="2025-02-08T06:08:54Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:54Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:54Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52578->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52578->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53259->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53259->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:54Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules296987172/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules296987172/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 29 (*app.updateErrorState) - time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:51Z" level=info msg="Handling loaded state: update-error" - time="2024-01-06T23:39:51Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:51Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:51Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56730->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56730->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57561->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57561->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:51Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" + time="2025-02-08T06:08:54Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:54Z" level=info msg="Handling loaded state: update-error" + time="2025-02-08T06:08:54Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:54Z" level=error msg="Mender shut down in state: update-error" + time="2025-02-08T06:08:54Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:54Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:54Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33942->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33942->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43027->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43027->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:54Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules296987172/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules296987172/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 30 (*app.updateErrorState) - time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:51Z" level=info msg="Handling loaded state: update-error" - time="2024-01-06T23:39:51Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:51Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:51Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43123->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43123->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50834->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50834->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:51Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" + time="2025-02-08T06:08:54Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:54Z" level=info msg="Handling loaded state: update-error" + time="2025-02-08T06:08:54Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:54Z" level=error msg="Mender shut down in state: update-error" + time="2025-02-08T06:08:54Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:54Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:54Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60572->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60572->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47546->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47546->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:54Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules296987172/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules296987172/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 31 (*app.updateErrorState) - time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:51Z" level=info msg="Handling loaded state: update-error" - time="2024-01-06T23:39:51Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:51Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:51Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57527->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57527->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48258->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48258->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:51Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" + time="2025-02-08T06:08:54Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:54Z" level=info msg="Handling loaded state: update-error" + time="2025-02-08T06:08:54Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:54Z" level=error msg="Mender shut down in state: update-error" + time="2025-02-08T06:08:54Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:54Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:54Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36506->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36506->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33860->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33860->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:54Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules296987172/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules296987172/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 32 (*app.updateErrorState) - time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:51Z" level=info msg="Handling loaded state: update-error" - time="2024-01-06T23:39:51Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:51Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:51Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56560->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56560->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40078->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40078->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:51Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" + time="2025-02-08T06:08:54Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:54Z" level=info msg="Handling loaded state: update-error" + time="2025-02-08T06:08:54Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:54Z" level=error msg="Mender shut down in state: update-error" + time="2025-02-08T06:08:54Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:54Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:54Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58322->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58322->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44827->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44827->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:54Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules296987172/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules296987172/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 33 (*app.updateErrorState) - time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:51Z" level=info msg="Handling loaded state: update-error" - time="2024-01-06T23:39:51Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:51Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:51Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34512->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34512->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57269->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57269->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:51Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" + time="2025-02-08T06:08:54Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:54Z" level=info msg="Handling loaded state: update-error" + time="2025-02-08T06:08:54Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:54Z" level=error msg="Mender shut down in state: update-error" + time="2025-02-08T06:08:54Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:54Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:54Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52949->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52949->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53767->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53767->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:54Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules296987172/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules296987172/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 34 (*app.updateErrorState) - time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:51Z" level=info msg="Handling loaded state: update-error" - time="2024-01-06T23:39:51Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:51Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:51Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45106->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45106->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50074->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50074->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:51Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" + time="2025-02-08T06:08:54Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:54Z" level=info msg="Handling loaded state: update-error" + time="2025-02-08T06:08:54Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:54Z" level=error msg="Mender shut down in state: update-error" + time="2025-02-08T06:08:54Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:54Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:54Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45990->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45990->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50630->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50630->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:54Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules296987172/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules296987172/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 35 (*app.updateErrorState) - time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:51Z" level=info msg="Handling loaded state: update-error" - time="2024-01-06T23:39:51Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:51Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-06T23:39:51Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:51Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35326->[::1]:53: read: connection refused" - time="2024-01-06T23:39:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35326->[::1]:53: read: connection refused" - time="2024-01-06T23:39:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40504->[::1]:53: read: connection refused" - time="2024-01-06T23:39:52Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40504->[::1]:53: read: connection refused" - time="2024-01-06T23:39:52Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:52Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" + time="2025-02-08T06:08:54Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:54Z" level=info msg="Handling loaded state: update-error" + time="2025-02-08T06:08:54Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:54Z" level=error msg="Mender shut down in state: update-error" + time="2025-02-08T06:08:54Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:54Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:54Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46354->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46354->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40855->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40855->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:54Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules296987172/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules296987172/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 36 (*app.updateErrorState) - time="2024-01-06T23:39:52Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:52Z" level=info msg="Handling loaded state: update-error" - time="2024-01-06T23:39:52Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:52Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-06T23:39:52Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:52Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:52Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38390->[::1]:53: read: connection refused" - time="2024-01-06T23:39:52Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38390->[::1]:53: read: connection refused" - time="2024-01-06T23:39:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45616->[::1]:53: read: connection refused" - time="2024-01-06T23:39:52Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45616->[::1]:53: read: connection refused" - time="2024-01-06T23:39:52Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:52Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" + time="2025-02-08T06:08:54Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:54Z" level=info msg="Handling loaded state: update-error" + time="2025-02-08T06:08:54Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:54Z" level=error msg="Mender shut down in state: update-error" + time="2025-02-08T06:08:54Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:54Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:54Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37482->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37482->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56651->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56651->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:54Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules296987172/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules296987172/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 37 (*app.updateErrorState) - time="2024-01-06T23:39:52Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:52Z" level=info msg="Handling loaded state: update-error" - time="2024-01-06T23:39:52Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:52Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-06T23:39:52Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:52Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:52Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39771->[::1]:53: read: connection refused" - time="2024-01-06T23:39:52Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39771->[::1]:53: read: connection refused" - time="2024-01-06T23:39:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60627->[::1]:53: read: connection refused" - time="2024-01-06T23:39:52Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60627->[::1]:53: read: connection refused" - time="2024-01-06T23:39:52Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:52Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" + time="2025-02-08T06:08:54Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:54Z" level=info msg="Handling loaded state: update-error" + time="2025-02-08T06:08:54Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:54Z" level=error msg="Mender shut down in state: update-error" + time="2025-02-08T06:08:54Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:54Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:54Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33100->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33100->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37414->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37414->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:54Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules296987172/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules296987172/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 38 (*app.updateErrorState) - time="2024-01-06T23:39:52Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:52Z" level=info msg="Handling loaded state: update-error" - time="2024-01-06T23:39:52Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:52Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-06T23:39:52Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-06T23:39:52Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:52Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33203->[::1]:53: read: connection refused" - time="2024-01-06T23:39:52Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33203->[::1]:53: read: connection refused" - time="2024-01-06T23:39:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38058->[::1]:53: read: connection refused" - time="2024-01-06T23:39:52Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38058->[::1]:53: read: connection refused" - time="2024-01-06T23:39:52Z" level=debug msg="Handle update error state" - time="2024-01-06T23:39:52Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:39:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules822354610/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules822354610/work/payloads/0000/tree" + time="2025-02-08T06:08:54Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:54Z" level=info msg="Handling loaded state: update-error" + time="2025-02-08T06:08:54Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:54Z" level=error msg="Mender shut down in state: update-error" + time="2025-02-08T06:08:54Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2025-02-08T06:08:54Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:54Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34611->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34611->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48147->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48147->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=debug msg="Handle update error state" + time="2025-02-08T06:08:54Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:08:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules296987172/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules296987172/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 39 (*app.updateStatusReportState) - time="2024-01-06T23:39:52Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-06T23:39:52Z" level=info msg="Handling loaded state: update-error" - time="2024-01-06T23:39:52Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:52Z" level=error msg="State transition loop detected in state update-error: Forcefully aborting update. The system is likely to be in an inconsistent state after this." - time="2024-01-06T23:39:52Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" - time="2024-01-06T23:39:52Z" level=info msg="State transition: init [none] -> update-status-report [none]" - time="2024-01-06T23:39:52Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:52Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:52Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:52Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." + time="2025-02-08T06:08:54Z" level=info msg="State transition: init [none] -> init [none]" + time="2025-02-08T06:08:54Z" level=info msg="Handling loaded state: update-error" + time="2025-02-08T06:08:54Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:54Z" 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="2025-02-08T06:08:54Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" + time="2025-02-08T06:08:54Z" level=info msg="State transition: init [none] -> update-status-report [none]" + time="2025-02-08T06:08:54Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:54Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:54Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:54Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." --- PASS: TestStateTransitionsWithUpdateModules (0.00s) PASS === RUN TestStateTransitionsWithUpdateModules/Hang_in_Download_state state_test.go:4717: Hang in Download state state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:52Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:52Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:52Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:52Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39485->[::1]:53: read: connection refused" - time="2024-01-06T23:39:52Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39485->[::1]:53: read: connection refused" - time="2024-01-06T23:39:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47866->[::1]:53: read: connection refused" - time="2024-01-06T23:39:52Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47866->[::1]:53: read: connection refused" - time="2024-01-06T23:39:52Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:52Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:52Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:52Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules817030275/device_type" - time="2024-01-06T23:39:52Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:52Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:52Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:52Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:52Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:52Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules817030275/artifact_info file." - time="2024-01-06T23:39:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules817030275/artifact_info" - time="2024-01-06T23:39:52Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:52Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules817030275/artifact_info" - time="2024-01-06T23:39:52Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules817030275/device_type" - time="2024-01-06T23:39:52Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:52Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:52Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:52Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules817030275/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules817030275/work/payloads/0000/tree" - time="2024-01-06T23:39:52Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:57Z" level=error msg="Process 3332073 timed out. Sending SIGTERM" - time="2024-01-06T23:39:57Z" level=error msg="Artifact install failed: Update module terminated abnormally: signal: terminated" - time="2024-01-06T23:39:57Z" level=info msg="State transition: update-store [Download_Enter] -> cleanup [Error]" - time="2024-01-06T23:39:57Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:39:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:57Z" level=debug msg="Executing script: Download_Error_00" - time="2024-01-06T23:39:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:57Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:39:57Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:39:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules817030275/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules817030275/work/payloads/0000/tree" - time="2024-01-06T23:39:57Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:39:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:57Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:39:57Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:39:57Z" level=debug msg="Reporting complete" - time="2024-01-06T23:39:57Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules817030275/artifact_info file." - time="2024-01-06T23:39:57Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules817030275/artifact_info" - time="2024-01-06T23:39:57Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:57Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (5.20s) + time="2025-02-08T06:08:54Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:54Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:54Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:54Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41808->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41808->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48877->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48877->[::1]:53: read: connection refused" + time="2025-02-08T06:08:54Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:54Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:54Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:54Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:54Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules604922845/device_type" + time="2025-02-08T06:08:54Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:54Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:54Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:54Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:54Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:54Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:54Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:54Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:54Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:54Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:54Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:54Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:54Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:54Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:54Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:54Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:54Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:54Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:54Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:54Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:54Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:54Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:54Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:54Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules604922845/artifact_info file." + time="2025-02-08T06:08:54Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules604922845/artifact_info" + time="2025-02-08T06:08:54Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:54Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:54Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules604922845/artifact_info" + time="2025-02-08T06:08:54Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:54Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules604922845/device_type" + time="2025-02-08T06:08:54Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:54Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:54Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:54Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules604922845/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules604922845/work/payloads/0000/tree" + time="2025-02-08T06:08:54Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:59Z" level=error msg="Process 1756618 timed out. Sending SIGTERM" + time="2025-02-08T06:08:59Z" level=error msg="Artifact install failed: Update module terminated abnormally: signal: terminated" + time="2025-02-08T06:08:59Z" level=info msg="State transition: update-store [Download_Enter] -> cleanup [Error]" + time="2025-02-08T06:08:59Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:08:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:59Z" level=debug msg="Executing script: Download_Error_00" + time="2025-02-08T06:08:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:59Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:08:59Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:08:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules604922845/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules604922845/work/payloads/0000/tree" + time="2025-02-08T06:08:59Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:08:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:59Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:08:59Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:08:59Z" level=debug msg="Reporting complete" + time="2025-02-08T06:08:59Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules604922845/artifact_info file." + time="2025-02-08T06:08:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules604922845/artifact_info" + time="2025-02-08T06:08:59Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:59Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (5.03s) PASS === RUN TestStateTransitionsWithUpdateModules/Hang_in_ArtifactInstall state_test.go:4717: Hang in ArtifactInstall state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:39:57Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:39:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:57Z" level=debug msg="Handle update check state" - time="2024-01-06T23:39:57Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:39:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:57Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:39:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34873->[::1]:53: read: connection refused" - time="2024-01-06T23:39:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34873->[::1]:53: read: connection refused" - time="2024-01-06T23:39:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58155->[::1]:53: read: connection refused" - time="2024-01-06T23:39:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58155->[::1]:53: read: connection refused" - time="2024-01-06T23:39:57Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:39:57Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:39:57Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:39:57Z" level=debug msg="Handling update install state" - time="2024-01-06T23:39:57Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules875538216/device_type" - time="2024-01-06T23:39:57Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:57Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:57Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:39:57Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:39:57Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:39:57Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:39:57Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:39:57Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:39:57Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:57Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:39:57Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:39:57Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:39:57Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:39:57Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:39:57Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:39:57Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:39:57Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:39:57Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:39:57Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:39:57Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:39:57Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:39:57Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:39:57Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:39:57Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules875538216/artifact_info file." - time="2024-01-06T23:39:57Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules875538216/artifact_info" - time="2024-01-06T23:39:57Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:57Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:39:57Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules875538216/artifact_info" - time="2024-01-06T23:39:57Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:39:57Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules875538216/device_type" - time="2024-01-06T23:39:57Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:39:57Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:39:57Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:39:57Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:39:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules875538216/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules875538216/work/payloads/0000/tree" - time="2024-01-06T23:39:57Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:39:57Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:39:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules875538216/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules875538216/work/payloads/0000/tree" - time="2024-01-06T23:39:57Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:39:57Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:39:57Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:39:57Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:39:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:57Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:39:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56350->[::1]:53: read: connection refused" - time="2024-01-06T23:39:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56350->[::1]:53: read: connection refused" - time="2024-01-06T23:39:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38712->[::1]:53: read: connection refused" - time="2024-01-06T23:39:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38712->[::1]:53: read: connection refused" - time="2024-01-06T23:39:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:39:57Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:39:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38075->[::1]:53: read: connection refused" - time="2024-01-06T23:39:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38075->[::1]:53: read: connection refused" - time="2024-01-06T23:39:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40569->[::1]:53: read: connection refused" - time="2024-01-06T23:39:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40569->[::1]:53: read: connection refused" - time="2024-01-06T23:39:57Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:39:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules875538216/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules875538216/work/payloads/0000/tree" - time="2024-01-06T23:40:02Z" level=error msg="Process 3333023 timed out. Sending SIGTERM" - time="2024-01-06T23:40:02Z" level=error msg="Update module terminated abnormally: signal: terminated" - time="2024-01-06T23:40:02Z" level=error msg="transient error: Update module terminated abnormally: signal: terminated" - time="2024-01-06T23:40:02Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" - time="2024-01-06T23:40:02Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:40:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:40:02Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2024-01-06T23:40:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47199->[::1]:53: read: connection refused" - time="2024-01-06T23:40:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47199->[::1]:53: read: connection refused" - time="2024-01-06T23:40:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45317->[::1]:53: read: connection refused" - time="2024-01-06T23:40:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45317->[::1]:53: read: connection refused" - time="2024-01-06T23:40:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:40:02Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:40:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47131->[::1]:53: read: connection refused" - time="2024-01-06T23:40:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47131->[::1]:53: read: connection refused" - time="2024-01-06T23:40:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37452->[::1]:53: read: connection refused" - time="2024-01-06T23:40:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37452->[::1]:53: read: connection refused" - time="2024-01-06T23:40:02Z" level=info msg="Performing rollback" - time="2024-01-06T23:40:02Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:40:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules875538216/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules875538216/work/payloads/0000/tree" - time="2024-01-06T23:40:02Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2024-01-06T23:40:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:40:02Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:40:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49622->[::1]:53: read: connection refused" - time="2024-01-06T23:40:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49622->[::1]:53: read: connection refused" - time="2024-01-06T23:40:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54217->[::1]:53: read: connection refused" - time="2024-01-06T23:40:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54217->[::1]:53: read: connection refused" - time="2024-01-06T23:40:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:40:02Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:40:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37873->[::1]:53: read: connection refused" - time="2024-01-06T23:40:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37873->[::1]:53: read: connection refused" - time="2024-01-06T23:40:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51145->[::1]:53: read: connection refused" - time="2024-01-06T23:40:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51145->[::1]:53: read: connection refused" - time="2024-01-06T23:40:02Z" level=debug msg="Handle update error state" - time="2024-01-06T23:40:02Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:40:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules875538216/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules875538216/work/payloads/0000/tree" - time="2024-01-06T23:40:02Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:40:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:40:02Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:40:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:40:02Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:40:02Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:40:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules875538216/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules875538216/work/payloads/0000/tree" - time="2024-01-06T23:40:02Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:40:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:40:02Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:40:02Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:40:02Z" level=debug msg="Reporting complete" - time="2024-01-06T23:40:02Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules875538216/artifact_info file." - time="2024-01-06T23:40:02Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules875538216/artifact_info" - time="2024-01-06T23:40:02Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:40:02Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (5.19s) + time="2025-02-08T06:08:59Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:08:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:59Z" level=debug msg="Handle update check state" + time="2025-02-08T06:08:59Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:08:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:59Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:08: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]:41847->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41847->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35705->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:35705->[::1]:53: read: connection refused" + time="2025-02-08T06:08:59Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:08:59Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:08:59Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:08:59Z" level=debug msg="Handling update install state" + time="2025-02-08T06:08:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules567953546/device_type" + time="2025-02-08T06:08:59Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:59Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:59Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:08:59Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:08:59Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08:59Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:08:59Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:08:59Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:08:59Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:08:59Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:08:59Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:08:59Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:08:59Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:08:59Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:08:59Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:08:59Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:08:59Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:08:59Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:08:59Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:08:59Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:08:59Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:08:59Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:08:59Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:08:59Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules567953546/artifact_info file." + time="2025-02-08T06:08:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules567953546/artifact_info" + time="2025-02-08T06:08:59Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:59Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:08:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules567953546/artifact_info" + time="2025-02-08T06:08:59Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:08:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules567953546/device_type" + time="2025-02-08T06:08:59Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:08:59Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:08:59Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:08:59Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:08:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules567953546/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules567953546/work/payloads/0000/tree" + time="2025-02-08T06:08:59Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:08:59Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:08:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules567953546/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules567953546/work/payloads/0000/tree" + time="2025-02-08T06:08:59Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:08:59Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:08:59Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:08:59Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:08:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:59Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:08: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]:41480->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41480->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41230->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:41230->[::1]:53: read: connection refused" + time="2025-02-08T06:08:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:08:59Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:08: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]:53051->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:53051->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44164->[::1]:53: read: connection refused" + time="2025-02-08T06:08: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]:44164->[::1]:53: read: connection refused" + time="2025-02-08T06:08:59Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:08:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules567953546/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules567953546/work/payloads/0000/tree" + time="2025-02-08T06:09:04Z" level=error msg="Process 1757077 timed out. Sending SIGTERM" + time="2025-02-08T06:09:04Z" level=error msg="Update module terminated abnormally: signal: terminated" + time="2025-02-08T06:09:04Z" level=error msg="transient error: Update module terminated abnormally: signal: terminated" + time="2025-02-08T06:09:04Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" + time="2025-02-08T06:09:04Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:09:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:09:04Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2025-02-08T06:09: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]:45779->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:45779->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:45186->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:45186->[::1]:53: read: connection refused" + time="2025-02-08T06:09:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:09:04Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:09: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]:36531->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:36531->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:43141->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:43141->[::1]:53: read: connection refused" + time="2025-02-08T06:09:04Z" level=info msg="Performing rollback" + time="2025-02-08T06:09:04Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:09:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules567953546/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules567953546/work/payloads/0000/tree" + time="2025-02-08T06:09:04Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2025-02-08T06:09:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:09:04Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:09: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]:33626->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:33626->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:44231->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:44231->[::1]:53: read: connection refused" + time="2025-02-08T06:09:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:09:04Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:09: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]:45274->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:45274->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:39377->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:39377->[::1]:53: read: connection refused" + time="2025-02-08T06:09:04Z" level=debug msg="Handle update error state" + time="2025-02-08T06:09:04Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:09:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules567953546/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules567953546/work/payloads/0000/tree" + time="2025-02-08T06:09:04Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:09:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:09:04Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:09:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:09:04Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:09:04Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:09:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules567953546/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules567953546/work/payloads/0000/tree" + time="2025-02-08T06:09:04Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:09:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:09:04Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:09:04Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:09:04Z" level=debug msg="Reporting complete" + time="2025-02-08T06:09:04Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules567953546/artifact_info file." + time="2025-02-08T06:09:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules567953546/artifact_info" + time="2025-02-08T06:09:04Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:09:04Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (5.07s) PASS === RUN TestStateTransitionsWithUpdateModules/Temporary_failure_in_report_sending_after_reboot state_test.go:4717: Temporary failure in report sending after reboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:40:02Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:40:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:40:02Z" level=debug msg="Handle update check state" - time="2024-01-06T23:40:02Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:40:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:40:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:40:02Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:40:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38465->[::1]:53: read: connection refused" - time="2024-01-06T23:40:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38465->[::1]:53: read: connection refused" - time="2024-01-06T23:40:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39428->[::1]:53: read: connection refused" - time="2024-01-06T23:40:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39428->[::1]:53: read: connection refused" - time="2024-01-06T23:40:02Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:40:02Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:40:02Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:40:02Z" level=debug msg="Handling update install state" - time="2024-01-06T23:40:02Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules276353329/device_type" - time="2024-01-06T23:40:02Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:40:02Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:40:02Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:40:02Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:40:02Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:40:02Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:40:02Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:40:02Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:40:02Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:40:02Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:40:02Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:40:02Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:40:02Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:40:02Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:40:02Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:40:02Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:40:02Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:40:02Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:40:02Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:40:02Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:40:02Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:40:02Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:40:02Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:40:02Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules276353329/artifact_info file." - time="2024-01-06T23:40:02Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules276353329/artifact_info" - time="2024-01-06T23:40:02Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:40:02Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:40:02Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules276353329/artifact_info" - time="2024-01-06T23:40:02Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:40:02Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules276353329/device_type" - time="2024-01-06T23:40:02Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:40:02Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:40:02Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:40:02Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:40:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules276353329/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules276353329/work/payloads/0000/tree" - time="2024-01-06T23:40:02Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:40:02Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:40:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules276353329/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules276353329/work/payloads/0000/tree" - time="2024-01-06T23:40:02Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:40:02Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:40:02Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:40:02Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:40:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:40:02Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:40:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53048->[::1]:53: read: connection refused" - time="2024-01-06T23:40:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53048->[::1]:53: read: connection refused" - time="2024-01-06T23:40:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48918->[::1]:53: read: connection refused" - time="2024-01-06T23:40:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48918->[::1]:53: read: connection refused" - time="2024-01-06T23:40:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:40:02Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:40:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53082->[::1]:53: read: connection refused" - time="2024-01-06T23:40:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53082->[::1]:53: read: connection refused" - time="2024-01-06T23:40:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46000->[::1]:53: read: connection refused" - time="2024-01-06T23:40:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46000->[::1]:53: read: connection refused" - time="2024-01-06T23:40:02Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:40:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules276353329/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules276353329/work/payloads/0000/tree" - time="2024-01-06T23:40:02Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:40:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules276353329/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules276353329/work/payloads/0000/tree" - time="2024-01-06T23:40:02Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:40:02Z" level=debug msg="Module needs custom reboot" - time="2024-01-06T23:40:02Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-06T23:40:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:40:02Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:40:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57825->[::1]:53: read: connection refused" - time="2024-01-06T23:40:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57825->[::1]:53: read: connection refused" - time="2024-01-06T23:40:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60617->[::1]:53: read: connection refused" - time="2024-01-06T23:40:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60617->[::1]:53: read: connection refused" - time="2024-01-06T23:40:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:40:02Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:40:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38214->[::1]:53: read: connection refused" - time="2024-01-06T23:40:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38214->[::1]:53: read: connection refused" - time="2024-01-06T23:40:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41178->[::1]:53: read: connection refused" - time="2024-01-06T23:40:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41178->[::1]:53: read: connection refused" - time="2024-01-06T23:40:02Z" level=debug msg="Handling reboot state" - time="2024-01-06T23:40:02Z" level=info msg="Rebooting device(s)" - time="2024-01-06T23:40:02Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-06T23:40:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules276353329/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules276353329/work/payloads/0000/tree" - time="2024-01-06T23:40:02Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:40:02Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-06T23:40:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules276353329/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules276353329/work/payloads/0000/tree" - time="2024-01-06T23:40:02Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:40:02Z" level=debug msg="Handling state after reboot" - time="2024-01-06T23:40:02Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-06T23:40:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:40:02Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:40:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60122->[::1]:53: read: connection refused" - time="2024-01-06T23:40:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60122->[::1]:53: read: connection refused" - time="2024-01-06T23:40:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43744->[::1]:53: read: connection refused" - time="2024-01-06T23:40:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43744->[::1]:53: read: connection refused" - time="2024-01-06T23:40:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:40:02Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:40:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46674->[::1]:53: read: connection refused" - time="2024-01-06T23:40:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46674->[::1]:53: read: connection refused" - time="2024-01-06T23:40:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36034->[::1]:53: read: connection refused" - time="2024-01-06T23:40:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36034->[::1]:53: read: connection refused" - time="2024-01-06T23:40:02Z" level=debug msg="Handle update commit state" - time="2024-01-06T23:40:02Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" - time="2024-01-06T23:40:02Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" - time="2024-01-06T23:40:07Z" level=debug msg="Wait complete" - time="2024-01-06T23:40:07Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-06T23:40:07Z" level=debug msg="Handle update commit state" - time="2024-01-06T23:40:07Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2024-01-06T23:40:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules276353329/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules276353329/work/payloads/0000/tree" - time="2024-01-06T23:40:07Z" level=debug msg="Committing new artifact name: artifact-name" - time="2024-01-06T23:40:07Z" level=debug msg="Committing new artifact group name: " - time="2024-01-06T23:40:07Z" level=debug msg="Committing new artifact type-info provides" - time="2024-01-06T23:40:07Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" - time="2024-01-06T23:40:07Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2024-01-06T23:40:07Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2024-01-06T23:40:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:40:07Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:40:07Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:40:07Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:40:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules276353329/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules276353329/work/payloads/0000/tree" - time="2024-01-06T23:40:07Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" - time="2024-01-06T23:40:07Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:40:07Z" level=debug msg="Reporting complete" - time="2024-01-06T23:40:07Z" level=debug msg="Returning artifact name artifact-name from database." - --- PASS: TestStateTransitionsWithUpdateModules (5.22s) + time="2025-02-08T06:09:04Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:09:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:09:04Z" level=debug msg="Handle update check state" + time="2025-02-08T06:09:04Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:09:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:09:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:09:04Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:09: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]:36090->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:36090->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:54339->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:54339->[::1]:53: read: connection refused" + time="2025-02-08T06:09:04Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:09:04Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:09:04Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:09:04Z" level=debug msg="Handling update install state" + time="2025-02-08T06:09:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules221206843/device_type" + time="2025-02-08T06:09:04Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:09:04Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:09:04Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:09:04Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:09:04Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:09:04Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:09:04Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:09:04Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:09:04Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:09:04Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:09:04Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:09:04Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:09:04Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:09:04Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:09:04Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:09:04Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:09:04Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:09:04Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:09:04Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:09:04Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:09:04Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:09:04Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:09:04Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:09:04Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules221206843/artifact_info file." + time="2025-02-08T06:09:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules221206843/artifact_info" + time="2025-02-08T06:09:04Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:09:04Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:09:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules221206843/artifact_info" + time="2025-02-08T06:09:04Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:09:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules221206843/device_type" + time="2025-02-08T06:09:04Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:09:04Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:09:04Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:09:04Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:09:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules221206843/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules221206843/work/payloads/0000/tree" + time="2025-02-08T06:09:04Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:09:04Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:09:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules221206843/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules221206843/work/payloads/0000/tree" + time="2025-02-08T06:09:04Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:09:04Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:09:04Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:09:04Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:09:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:09:04Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:09: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]:34781->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:34781->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:46149->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:46149->[::1]:53: read: connection refused" + time="2025-02-08T06:09:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:09:04Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:09: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]:59000->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:59000->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:59441->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:59441->[::1]:53: read: connection refused" + time="2025-02-08T06:09:04Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:09:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules221206843/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules221206843/work/payloads/0000/tree" + time="2025-02-08T06:09:04Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:09:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules221206843/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules221206843/work/payloads/0000/tree" + time="2025-02-08T06:09:04Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:09:04Z" level=debug msg="Module needs custom reboot" + time="2025-02-08T06:09:04Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2025-02-08T06:09:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:09:04Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:09: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]:58863->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:58863->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:45485->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:45485->[::1]:53: read: connection refused" + time="2025-02-08T06:09:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:09:04Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:09: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]:44961->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:44961->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:60028->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:60028->[::1]:53: read: connection refused" + time="2025-02-08T06:09:04Z" level=debug msg="Handling reboot state" + time="2025-02-08T06:09:04Z" level=info msg="Rebooting device(s)" + time="2025-02-08T06:09:04Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2025-02-08T06:09:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules221206843/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules221206843/work/payloads/0000/tree" + time="2025-02-08T06:09:04Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:09:04Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2025-02-08T06:09:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules221206843/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules221206843/work/payloads/0000/tree" + time="2025-02-08T06:09:04Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:09:04Z" level=debug msg="Handling state after reboot" + time="2025-02-08T06:09:04Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2025-02-08T06:09:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:09:04Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:09: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]:36300->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:36300->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:54794->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:54794->[::1]:53: read: connection refused" + time="2025-02-08T06:09:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:09:04Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:09: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]:44783->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:44783->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:40938->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:40938->[::1]:53: read: connection refused" + time="2025-02-08T06:09:04Z" level=debug msg="Handle update commit state" + time="2025-02-08T06:09:04Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" + time="2025-02-08T06:09:04Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" + time="2025-02-08T06:09:09Z" level=debug msg="Wait complete" + time="2025-02-08T06:09:09Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" + time="2025-02-08T06:09:09Z" level=debug msg="Handle update commit state" + time="2025-02-08T06:09:09Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2025-02-08T06:09:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules221206843/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules221206843/work/payloads/0000/tree" + time="2025-02-08T06:09:09Z" level=debug msg="Committing new artifact name: artifact-name" + time="2025-02-08T06:09:09Z" level=debug msg="Committing new artifact group name: " + time="2025-02-08T06:09:09Z" level=debug msg="Committing new artifact type-info provides" + time="2025-02-08T06:09:09Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" + time="2025-02-08T06:09:09Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2025-02-08T06:09:09Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2025-02-08T06:09:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:09:09Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:09:09Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:09:09Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:09:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules221206843/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules221206843/work/payloads/0000/tree" + time="2025-02-08T06:09:09Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" + time="2025-02-08T06:09:09Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:09:09Z" level=debug msg="Reporting complete" + time="2025-02-08T06:09:09Z" level=debug msg="Returning artifact name artifact-name from database." + --- PASS: TestStateTransitionsWithUpdateModules (5.07s) PASS === RUN TestStateTransitionsWithUpdateModules/Permanent_failure_in_report_sending_after_reboot state_test.go:4717: Permanent failure in report sending after reboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-06T23:40:07Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-06T23:40:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:40:07Z" level=debug msg="Handle update check state" - time="2024-01-06T23:40:07Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-06T23:40:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:40:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:40:07Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-06T23:40:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40014->[::1]:53: read: connection refused" - time="2024-01-06T23:40:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40014->[::1]:53: read: connection refused" - time="2024-01-06T23:40:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39941->[::1]:53: read: connection refused" - time="2024-01-06T23:40:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39941->[::1]:53: read: connection refused" - time="2024-01-06T23:40:07Z" level=info msg="Running Mender client version: unknown" - time="2024-01-06T23:40:07Z" level=debug msg="Handling update fetch state" - time="2024-01-06T23:40:07Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-06T23:40:07Z" level=debug msg="Handling update install state" - time="2024-01-06T23:40:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules178837614/device_type" - time="2024-01-06T23:40:07Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:40:07Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:40:07Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-06T23:40:07Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-06T23:40:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:40:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-06T23:40:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:40:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-06T23:40:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:40:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-06T23:40:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:40:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-06T23:40:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:40:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-06T23:40:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-06T23:40:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:40:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:40:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:40:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-06T23:40:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:40:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:40:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:40:07Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-06T23:40:07Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules178837614/artifact_info file." - time="2024-01-06T23:40:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules178837614/artifact_info" - time="2024-01-06T23:40:07Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:40:07Z" level=debug msg="Current manifest data: old_name" - time="2024-01-06T23:40:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules178837614/artifact_info" - time="2024-01-06T23:40:07Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:40:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules178837614/device_type" - time="2024-01-06T23:40:07Z" level=debug msg="device_type=test-device" - time="2024-01-06T23:40:07Z" level=debug msg="Current manifest data: test-device" - time="2024-01-06T23:40:07Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-06T23:40:07Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-06T23:40:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules178837614/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules178837614/work/payloads/0000/tree" - time="2024-01-06T23:40:07Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-06T23:40:07Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-06T23:40:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules178837614/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules178837614/work/payloads/0000/tree" - time="2024-01-06T23:40:07Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:40:07Z" level=debug msg="Module supports rollback" - time="2024-01-06T23:40:07Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-06T23:40:07Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-06T23:40:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:40:07Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-06T23:40:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52034->[::1]:53: read: connection refused" - time="2024-01-06T23:40:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52034->[::1]:53: read: connection refused" - time="2024-01-06T23:40:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46168->[::1]:53: read: connection refused" - time="2024-01-06T23:40:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46168->[::1]:53: read: connection refused" - time="2024-01-06T23:40:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:40:08Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-06T23:40:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53552->[::1]:53: read: connection refused" - time="2024-01-06T23:40:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53552->[::1]:53: read: connection refused" - time="2024-01-06T23:40:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55145->[::1]:53: read: connection refused" - time="2024-01-06T23:40:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55145->[::1]:53: read: connection refused" - time="2024-01-06T23:40:08Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-06T23:40:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules178837614/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules178837614/work/payloads/0000/tree" - time="2024-01-06T23:40:08Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-06T23:40:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules178837614/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules178837614/work/payloads/0000/tree" - time="2024-01-06T23:40:08Z" level=debug msg="Update module output: Yes" - time="2024-01-06T23:40:08Z" level=debug msg="Module needs custom reboot" - time="2024-01-06T23:40:08Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-06T23:40:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:40:08Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-06T23:40:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60822->[::1]:53: read: connection refused" - time="2024-01-06T23:40:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60822->[::1]:53: read: connection refused" - time="2024-01-06T23:40:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42052->[::1]:53: read: connection refused" - time="2024-01-06T23:40:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42052->[::1]:53: read: connection refused" - time="2024-01-06T23:40:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:40:08Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-06T23:40:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32835->[::1]:53: read: connection refused" - time="2024-01-06T23:40:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32835->[::1]:53: read: connection refused" - time="2024-01-06T23:40:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57902->[::1]:53: read: connection refused" - time="2024-01-06T23:40:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57902->[::1]:53: read: connection refused" - time="2024-01-06T23:40:08Z" level=debug msg="Handling reboot state" - time="2024-01-06T23:40:08Z" level=info msg="Rebooting device(s)" - time="2024-01-06T23:40:08Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-06T23:40:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules178837614/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules178837614/work/payloads/0000/tree" - time="2024-01-06T23:40:08Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:40:08Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-06T23:40:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules178837614/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules178837614/work/payloads/0000/tree" - time="2024-01-06T23:40:08Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-06T23:40:08Z" level=debug msg="Handling state after reboot" - time="2024-01-06T23:40:08Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-06T23:40:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:40:08Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2024-01-06T23:40:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41040->[::1]:53: read: connection refused" - time="2024-01-06T23:40:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41040->[::1]:53: read: connection refused" - time="2024-01-06T23:40:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57686->[::1]:53: read: connection refused" - time="2024-01-06T23:40:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57686->[::1]:53: read: connection refused" - time="2024-01-06T23:40:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:40:08Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2024-01-06T23:40:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52452->[::1]:53: read: connection refused" - time="2024-01-06T23:40:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52452->[::1]:53: read: connection refused" - time="2024-01-06T23:40:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48882->[::1]:53: read: connection refused" - time="2024-01-06T23:40:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48882->[::1]:53: read: connection refused" - time="2024-01-06T23:40:08Z" level=debug msg="Handle update commit state" - time="2024-01-06T23:40:08Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" - time="2024-01-06T23:40:08Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" - time="2024-01-06T23:40:13Z" level=debug msg="Wait complete" - time="2024-01-06T23:40:13Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-06T23:40:13Z" level=debug msg="Handle update commit state" - time="2024-01-06T23:40:13Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" - time="2024-01-06T23:40:13Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" - time="2024-01-06T23:40:18Z" level=debug msg="Wait complete" - time="2024-01-06T23:40:18Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-06T23:40:18Z" level=debug msg="Handle update commit state" - time="2024-01-06T23:40:18Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" - time="2024-01-06T23:40:18Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" - time="2024-01-06T23:40:23Z" level=debug msg="Wait complete" - time="2024-01-06T23:40:23Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-06T23:40:23Z" level=debug msg="Handle update commit state" - time="2024-01-06T23:40:23Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" - time="2024-01-06T23:40:23Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" - time="2024-01-06T23:40:23Z" level=error msg="transient error: Tried sending status report maximum number of times." - time="2024-01-06T23:40:23Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" - time="2024-01-06T23:40:23Z" level=debug msg="Transitioning to error state" - time="2024-01-06T23:40:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:40:23Z" level=debug msg="Executing script: ArtifactCommit_Error_00" - time="2024-01-06T23:40:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33444->[::1]:53: read: connection refused" - time="2024-01-06T23:40:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33444->[::1]:53: read: connection refused" - time="2024-01-06T23:40:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36921->[::1]:53: read: connection refused" - time="2024-01-06T23:40:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36921->[::1]:53: read: connection refused" - time="2024-01-06T23:40:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:40:23Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-06T23:40:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57220->[::1]:53: read: connection refused" - time="2024-01-06T23:40:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57220->[::1]:53: read: connection refused" - time="2024-01-06T23:40:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35385->[::1]:53: read: connection refused" - time="2024-01-06T23:40:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35385->[::1]:53: read: connection refused" - time="2024-01-06T23:40:23Z" level=info msg="Performing rollback" - time="2024-01-06T23:40:23Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-06T23:40:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules178837614/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules178837614/work/payloads/0000/tree" - time="2024-01-06T23:40:23Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-06T23:40:23Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-06T23:40:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:40:23Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-06T23:40:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46045->[::1]:53: read: connection refused" - time="2024-01-06T23:40:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46045->[::1]:53: read: connection refused" - time="2024-01-06T23:40:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55437->[::1]:53: read: connection refused" - time="2024-01-06T23:40:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55437->[::1]:53: read: connection refused" - time="2024-01-06T23:40:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:40:23Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-06T23:40:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56824->[::1]:53: read: connection refused" - time="2024-01-06T23:40:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56824->[::1]:53: read: connection refused" - time="2024-01-06T23:40:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43720->[::1]:53: read: connection refused" - time="2024-01-06T23:40:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43720->[::1]:53: read: connection refused" - time="2024-01-06T23:40:23Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-06T23:40:23Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-06T23:40:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules178837614/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules178837614/work/payloads/0000/tree" - time="2024-01-06T23:40:23Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:40:23Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-06T23:40:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules178837614/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules178837614/work/payloads/0000/tree" - time="2024-01-06T23:40:23Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-06T23:40:23Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-06T23:40:23Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-06T23:40:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:40:23Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-06T23:40:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53775->[::1]:53: read: connection refused" - time="2024-01-06T23:40:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53775->[::1]:53: read: connection refused" - time="2024-01-06T23:40:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41881->[::1]:53: read: connection refused" - time="2024-01-06T23:40:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41881->[::1]:53: read: connection refused" - time="2024-01-06T23:40:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:40:23Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-06T23:40:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48456->[::1]:53: read: connection refused" - time="2024-01-06T23:40:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48456->[::1]:53: read: connection refused" - time="2024-01-06T23:40:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51305->[::1]:53: read: connection refused" - time="2024-01-06T23:40:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51305->[::1]:53: read: connection refused" - time="2024-01-06T23:40:23Z" level=debug msg="Handle update error state" - time="2024-01-06T23:40:23Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-06T23:40:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules178837614/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules178837614/work/payloads/0000/tree" - time="2024-01-06T23:40:23Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-06T23:40:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:40:23Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-06T23:40:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:40:23Z" level=debug msg="Handling Cleanup state" - time="2024-01-06T23:40:23Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-06T23:40:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules178837614/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules178837614/work/payloads/0000/tree" - time="2024-01-06T23:40:23Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-06T23:40:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-06T23:40:23Z" level=debug msg="Handling update status report state" - time="2024-01-06T23:40:23Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-06T23:40:23Z" level=debug msg="Reporting complete" - time="2024-01-06T23:40:23Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules178837614/artifact_info file." - time="2024-01-06T23:40:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules178837614/artifact_info" - time="2024-01-06T23:40:23Z" level=debug msg="artifact_name=old_name" - time="2024-01-06T23:40:23Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (15.32s) + time="2025-02-08T06:09:09Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2025-02-08T06:09:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:09:09Z" level=debug msg="Handle update check state" + time="2025-02-08T06:09:09Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2025-02-08T06:09:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:09:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:09:09Z" level=debug msg="Executing script: Download_Enter_00" + time="2025-02-08T06:09: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]:58673->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:58673->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:33352->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:33352->[::1]:53: read: connection refused" + time="2025-02-08T06:09:09Z" level=info msg="Running Mender client version: unknown" + time="2025-02-08T06:09:09Z" level=debug msg="Handling update fetch state" + time="2025-02-08T06:09:09Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2025-02-08T06:09:09Z" level=debug msg="Handling update install state" + time="2025-02-08T06:09:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules597551680/device_type" + time="2025-02-08T06:09:09Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:09:09Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:09:09Z" level=info msg="No public key was provided for authenticating the artifact" + time="2025-02-08T06:09:09Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2025-02-08T06:09:09Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:09:09Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2025-02-08T06:09:09Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2025-02-08T06:09:09Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2025-02-08T06:09:09Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2025-02-08T06:09:09Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:09:09Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2025-02-08T06:09:09Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:09:09Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:09:09Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2025-02-08T06:09:09Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2025-02-08T06:09:09Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:09:09Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:09:09Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:09:09Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:09:09Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:09:09Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:09:09Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:09:09Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2025-02-08T06:09:09Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules597551680/artifact_info file." + time="2025-02-08T06:09:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules597551680/artifact_info" + time="2025-02-08T06:09:09Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:09:09Z" level=debug msg="Current manifest data: old_name" + time="2025-02-08T06:09:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules597551680/artifact_info" + time="2025-02-08T06:09:09Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:09:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules597551680/device_type" + time="2025-02-08T06:09:09Z" level=debug msg="device_type=test-device" + time="2025-02-08T06:09:09Z" level=debug msg="Current manifest data: test-device" + time="2025-02-08T06:09:09Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2025-02-08T06:09:09Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2025-02-08T06:09:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules597551680/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules597551680/work/payloads/0000/tree" + time="2025-02-08T06:09:09Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2025-02-08T06:09:09Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2025-02-08T06:09:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules597551680/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules597551680/work/payloads/0000/tree" + time="2025-02-08T06:09:09Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:09:09Z" level=debug msg="Module supports rollback" + time="2025-02-08T06:09:09Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2025-02-08T06:09:09Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2025-02-08T06:09:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:09:09Z" level=debug msg="Executing script: Download_Leave_00" + time="2025-02-08T06:09: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]:34275->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:34275->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:60329->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:60329->[::1]:53: read: connection refused" + time="2025-02-08T06:09:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:09:09Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2025-02-08T06:09: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]:42528->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:42528->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:39864->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:39864->[::1]:53: read: connection refused" + time="2025-02-08T06:09:09Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2025-02-08T06:09:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules597551680/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules597551680/work/payloads/0000/tree" + time="2025-02-08T06:09:09Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2025-02-08T06:09:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules597551680/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules597551680/work/payloads/0000/tree" + time="2025-02-08T06:09:09Z" level=debug msg="Update module output: Yes" + time="2025-02-08T06:09:09Z" level=debug msg="Module needs custom reboot" + time="2025-02-08T06:09:09Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2025-02-08T06:09:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:09:09Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2025-02-08T06:09: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]:47286->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:47286->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:42293->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:42293->[::1]:53: read: connection refused" + time="2025-02-08T06:09:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:09:09Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2025-02-08T06:09: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]:60648->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:60648->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:46899->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:46899->[::1]:53: read: connection refused" + time="2025-02-08T06:09:09Z" level=debug msg="Handling reboot state" + time="2025-02-08T06:09:09Z" level=info msg="Rebooting device(s)" + time="2025-02-08T06:09:09Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2025-02-08T06:09:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules597551680/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules597551680/work/payloads/0000/tree" + time="2025-02-08T06:09:09Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:09:09Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2025-02-08T06:09:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules597551680/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules597551680/work/payloads/0000/tree" + time="2025-02-08T06:09:09Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2025-02-08T06:09:09Z" level=debug msg="Handling state after reboot" + time="2025-02-08T06:09:09Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2025-02-08T06:09:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:09:09Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2025-02-08T06:09: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]:46674->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:46674->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:57253->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:57253->[::1]:53: read: connection refused" + time="2025-02-08T06:09:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:09:09Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2025-02-08T06:09: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]:59450->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:59450->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:36664->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:36664->[::1]:53: read: connection refused" + time="2025-02-08T06:09:09Z" level=debug msg="Handle update commit state" + time="2025-02-08T06:09:09Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" + time="2025-02-08T06:09:09Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" + time="2025-02-08T06:09:14Z" level=debug msg="Wait complete" + time="2025-02-08T06:09:14Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" + time="2025-02-08T06:09:14Z" level=debug msg="Handle update commit state" + time="2025-02-08T06:09:14Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" + time="2025-02-08T06:09:14Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" + time="2025-02-08T06:09:19Z" level=debug msg="Wait complete" + time="2025-02-08T06:09:19Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" + time="2025-02-08T06:09:19Z" level=debug msg="Handle update commit state" + time="2025-02-08T06:09:19Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" + time="2025-02-08T06:09:19Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" + time="2025-02-08T06:09:24Z" level=debug msg="Wait complete" + time="2025-02-08T06:09:24Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" + time="2025-02-08T06:09:24Z" level=debug msg="Handle update commit state" + time="2025-02-08T06:09:24Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" + time="2025-02-08T06:09:24Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" + time="2025-02-08T06:09:24Z" level=error msg="transient error: Tried sending status report maximum number of times." + time="2025-02-08T06:09:24Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" + time="2025-02-08T06:09:24Z" level=debug msg="Transitioning to error state" + time="2025-02-08T06:09:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:09:24Z" level=debug msg="Executing script: ArtifactCommit_Error_00" + time="2025-02-08T06:09: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]:57488->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:57488->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:48421->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:48421->[::1]:53: read: connection refused" + time="2025-02-08T06:09:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:09:24Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2025-02-08T06:09: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="2025-02-08T06:09: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="2025-02-08T06:09: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]:48356->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:48356->[::1]:53: read: connection refused" + time="2025-02-08T06:09:24Z" level=info msg="Performing rollback" + time="2025-02-08T06:09:24Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2025-02-08T06:09:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules597551680/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules597551680/work/payloads/0000/tree" + time="2025-02-08T06:09:24Z" level=debug msg="Will try to rollback reboot the device" + time="2025-02-08T06:09:24Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2025-02-08T06:09:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:09:24Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2025-02-08T06:09: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]:43996->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:43996->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:42986->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:42986->[::1]:53: read: connection refused" + time="2025-02-08T06:09:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:09:24Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2025-02-08T06:09: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]:40635->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:40635->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:37981->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:37981->[::1]:53: read: connection refused" + time="2025-02-08T06:09:24Z" level=info msg="Rebooting device(s) after rollback" + time="2025-02-08T06:09:24Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2025-02-08T06:09:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules597551680/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules597551680/work/payloads/0000/tree" + time="2025-02-08T06:09:24Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:09:24Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2025-02-08T06:09:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules597551680/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules597551680/work/payloads/0000/tree" + time="2025-02-08T06:09:24Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2025-02-08T06:09:24Z" level=debug msg="Handling state after rollback reboot" + time="2025-02-08T06:09:24Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2025-02-08T06:09:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:09:24Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2025-02-08T06:09: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]:37917->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:37917->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:58712->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:58712->[::1]:53: read: connection refused" + time="2025-02-08T06:09:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:09:24Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2025-02-08T06:09: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]:37240->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:37240->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:53141->[::1]:53: read: connection refused" + time="2025-02-08T06:09: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]:53141->[::1]:53: read: connection refused" + time="2025-02-08T06:09:24Z" level=debug msg="Handle update error state" + time="2025-02-08T06:09:24Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2025-02-08T06:09:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules597551680/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules597551680/work/payloads/0000/tree" + time="2025-02-08T06:09:24Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2025-02-08T06:09:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:09:24Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2025-02-08T06:09:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:09:24Z" level=debug msg="Handling Cleanup state" + time="2025-02-08T06:09:24Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2025-02-08T06:09:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules597551680/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules597551680/work/payloads/0000/tree" + time="2025-02-08T06:09:24Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2025-02-08T06:09:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2025-02-08T06:09:24Z" level=debug msg="Handling update status report state" + time="2025-02-08T06:09:24Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2025-02-08T06:09:24Z" level=debug msg="Reporting complete" + time="2025-02-08T06:09:24Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules597551680/artifact_info file." + time="2025-02-08T06:09:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules597551680/artifact_info" + time="2025-02-08T06:09:24Z" level=debug msg="artifact_name=old_name" + time="2025-02-08T06:09:24Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (15.11s) PASS ---- PASS: TestStateTransitionsWithUpdateModules (52.25s) - --- PASS: TestStateTransitionsWithUpdateModules/Normal_install,_no_reboot,_no_rollback (0.20s) - --- PASS: TestStateTransitionsWithUpdateModules/Normal_install,_no_rollback (0.32s) - --- PASS: TestStateTransitionsWithUpdateModules/Normal_install (0.31s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Download_state,_no_rollback (0.12s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Download_state,_no_rollback (0.15s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_state,_no_rollback (0.23s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_state,_no_rollback (0.26s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall (0.31s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall (0.20s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot (0.27s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot (0.32s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactVerifyReboot (0.34s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactVerifyReboot (0.30s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback (0.28s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback (0.35s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot (0.30s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot (0.35s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactVerifyRollbackReboot (0.39s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactVerifyRollbackReboot (0.38s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure (0.23s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure (0.33s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Cleanup (0.33s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Cleanup (0.35s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit (0.30s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit (0.29s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit,_no_reboot (0.28s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit,_no_reboot (0.30s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Download_Enter_00_state,_no_rollback (0.06s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Download_Enter_00_state,_no_rollback (0.08s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Enter_00_state,_no_rollback (0.19s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Enter_00_state,_no_rollback (0.20s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Enter_00 (0.24s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Enter_00 (0.22s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot_Enter_00 (0.32s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot_Enter_00 (0.32s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback_Enter_00 (0.25s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback_Enter_00 (0.40s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot_Enter_00 (0.37s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot_Enter_00 (0.37s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure_Enter_00 (0.25s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure_Enter_00 (0.27s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Enter_00 (0.35s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Enter_00 (0.36s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Enter_00,_no_reboot (0.35s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Enter_00,_no_reboot (0.31s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Download_Leave_00_state,_no_rollback (0.17s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Download_Leave_00_state,_no_rollback (0.20s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Leave_00_state,_no_rollback (0.26s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Leave_00_state,_no_rollback (0.32s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Leave_00 (0.34s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Leave_00 (0.28s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot_Leave_00 (0.30s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot_Leave_00 (0.37s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback_Leave_00 (0.40s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback_Leave_00 (0.43s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot_Leave_00 (0.34s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot_Leave_00 (0.38s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure_Leave_00 (0.24s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure_Leave_00 (0.36s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Leave_00 (0.26s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Leave_00 (0.23s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Leave_00,_no_reboot (0.26s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Leave_00,_no_reboot (0.24s) - --- PASS: TestStateTransitionsWithUpdateModules/Break_out_of_error_loop (1.36s) - --- PASS: TestStateTransitionsWithUpdateModules/Break_out_of_spontaneous_reboot_loop (1.72s) - --- PASS: TestStateTransitionsWithUpdateModules/Hang_in_Download_state (5.24s) - --- PASS: TestStateTransitionsWithUpdateModules/Hang_in_ArtifactInstall (5.22s) - --- PASS: TestStateTransitionsWithUpdateModules/Temporary_failure_in_report_sending_after_reboot (5.27s) - --- PASS: TestStateTransitionsWithUpdateModules/Permanent_failure_in_report_sending_after_reboot (15.35s) +--- PASS: TestStateTransitionsWithUpdateModules (38.15s) + --- PASS: TestStateTransitionsWithUpdateModules/Normal_install,_no_reboot,_no_rollback (0.08s) + --- PASS: TestStateTransitionsWithUpdateModules/Normal_install,_no_rollback (0.09s) + --- PASS: TestStateTransitionsWithUpdateModules/Normal_install (0.09s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Download_state,_no_rollback (0.05s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Download_state,_no_rollback (0.06s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_state,_no_rollback (0.09s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_state,_no_rollback (0.08s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall (0.09s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall (0.10s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot (0.12s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot (0.11s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactVerifyReboot (0.12s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactVerifyReboot (0.13s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback (0.10s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback (0.14s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot (0.12s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot (0.13s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactVerifyRollbackReboot (0.14s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactVerifyRollbackReboot (0.13s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure (0.09s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure (0.11s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Cleanup (0.12s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Cleanup (0.14s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit (0.13s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit (0.14s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit,_no_reboot (0.10s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit,_no_reboot (0.11s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Download_Enter_00_state,_no_rollback (0.03s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Download_Enter_00_state,_no_rollback (0.04s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Enter_00_state,_no_rollback (0.07s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Enter_00_state,_no_rollback (0.08s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Enter_00 (0.08s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Enter_00 (0.09s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot_Enter_00 (0.11s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot_Enter_00 (0.10s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback_Enter_00 (0.12s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback_Enter_00 (0.14s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot_Enter_00 (0.12s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot_Enter_00 (0.13s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure_Enter_00 (0.09s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure_Enter_00 (0.11s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Enter_00 (0.13s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Enter_00 (0.14s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Enter_00,_no_reboot (0.10s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Enter_00,_no_reboot (0.11s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Download_Leave_00_state,_no_rollback (0.05s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Download_Leave_00_state,_no_rollback (0.06s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Leave_00_state,_no_rollback (0.08s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Leave_00_state,_no_rollback (0.09s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Leave_00 (0.11s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Leave_00 (0.12s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot_Leave_00 (0.12s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot_Leave_00 (0.13s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback_Leave_00 (0.12s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback_Leave_00 (0.15s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot_Leave_00 (0.12s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot_Leave_00 (0.14s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure_Leave_00 (0.09s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure_Leave_00 (0.11s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Leave_00 (0.09s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Leave_00 (0.10s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Leave_00,_no_reboot (0.08s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Leave_00,_no_reboot (0.09s) + --- PASS: TestStateTransitionsWithUpdateModules/Break_out_of_error_loop (0.54s) + --- PASS: TestStateTransitionsWithUpdateModules/Break_out_of_spontaneous_reboot_loop (0.71s) + --- PASS: TestStateTransitionsWithUpdateModules/Hang_in_Download_state (5.04s) + --- PASS: TestStateTransitionsWithUpdateModules/Hang_in_ArtifactInstall (5.08s) + --- PASS: TestStateTransitionsWithUpdateModules/Temporary_failure_in_report_sending_after_reboot (5.09s) + --- PASS: TestStateTransitionsWithUpdateModules/Permanent_failure_in_report_sending_after_reboot (15.13s) === RUN TestDBSchemaUpdate --- PASS: TestDBSchemaUpdate (0.00s) === RUN TestAutomaticReboot -time="2024-01-06T23:40:23Z" level=info msg="Running Mender client version: unknown" -time="2024-01-06T23:40:23Z" level=debug msg="Handling reboot state" -time="2024-01-06T23:40:23Z" level=info msg="Rebooting device(s)" -time="2024-01-06T23:40:23Z" level=error msg="transient error: Could not reboot host: exit status 99" -time="2024-01-06T23:40:23Z" level=debug msg="Setting artifact name to _INCONSISTENT" +time="2025-02-08T06:09:24Z" level=info msg="Running Mender client version: unknown" +time="2025-02-08T06:09:24Z" level=debug msg="Handling reboot state" +time="2025-02-08T06:09:24Z" level=info msg="Rebooting device(s)" +time="2025-02-08T06:09:24Z" level=error msg="transient error: Could not reboot host: exit status 99" +time="2025-02-08T06:09:24Z" level=debug msg="Setting artifact name to _INCONSISTENT" --- PASS: TestAutomaticReboot (0.01s) === RUN TestTransitions -time="2024-01-06T23:40:23Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2025-02-08T06:09:24Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" === RUN TestTransitions/0 -time="2024-01-06T23:40:23Z" level=info msg="State transition: init [Idle] -> init [Sync]" +time="2025-02-08T06:09:24Z" level=info msg="State transition: init [Idle] -> init [Sync]" transition_test.go:194: has: [{Idle Leave} {Sync Enter}] expect: [{Idle Leave} {Sync Enter}] === RUN TestTransitions/1 -time="2024-01-06T23:40:23Z" level=info msg="State transition: init [Idle] -> init [Sync]" +time="2025-02-08T06:09:24Z" level=info msg="State transition: init [Idle] -> init [Sync]" transition_test.go:194: has: [{Idle Leave} {Sync Enter}] expect: [{Idle Leave} {Sync Enter}] === RUN TestTransitions/2 -time="2024-01-06T23:40:23Z" level=info msg="State transition: init [Idle] -> init [Sync]" +time="2025-02-08T06:09:24Z" level=info msg="State transition: init [Idle] -> init [Sync]" transition_test.go:194: has: [{Idle Leave} {Sync Enter}] expect: [{Idle Leave} {Sync Enter}] === RUN TestTransitions/3 -time="2024-01-06T23:40:23Z" level=info msg="State transition: init [Sync] -> init [Download_Enter]" +time="2025-02-08T06:09:24Z" level=info msg="State transition: init [Sync] -> init [Download_Enter]" transition_test.go:194: has: [{Sync Leave}] expect: [{Sync Leave}] === RUN TestTransitions/4 -time="2024-01-06T23:40:23Z" level=info msg="State transition: init [Error] -> init [Idle]" +time="2025-02-08T06:09:24Z" level=info msg="State transition: init [Error] -> init [Idle]" transition_test.go:194: has: [{Error Leave} {Idle Enter}] expect: [{Error Leave} {Idle Enter}] === RUN TestTransitions/5 -time="2024-01-06T23:40:23Z" level=info msg="State transition: init [ArtifactReboot_Enter] -> init [Error]" -time="2024-01-06T23:40:23Z" level=debug msg="Transitioning to error state" +time="2025-02-08T06:09:24Z" level=info msg="State transition: init [ArtifactReboot_Enter] -> init [Error]" +time="2025-02-08T06:09:24Z" level=debug msg="Transitioning to error state" transition_test.go:194: has: [{ArtifactReboot Error} {Error Enter}] expect: [{ArtifactReboot Error} {Error Enter}] === RUN TestTransitions/6 -time="2024-01-06T23:40:23Z" level=info msg="State transition: init [none] -> init [Idle]" +time="2025-02-08T06:09:24Z" level=info msg="State transition: init [none] -> init [Idle]" transition_test.go:194: has: [{Idle Enter}] expect: [{Idle Enter}] === RUN TestTransitions/7 -time="2024-01-06T23:40:23Z" level=info msg="State transition: init [none] -> init [Error]" -time="2024-01-06T23:40:23Z" level=debug msg="Transitioning to error state" +time="2025-02-08T06:09:24Z" level=info msg="State transition: init [none] -> init [Error]" +time="2025-02-08T06:09:24Z" level=debug msg="Transitioning to error state" transition_test.go:194: has: [{Error Enter}] expect: [{Error Enter}] === RUN TestTransitions/8 -time="2024-01-06T23:40:23Z" level=info msg="State transition: init [Idle] -> init [Error]" -time="2024-01-06T23:40:23Z" level=debug msg="Transitioning to error state" +time="2025-02-08T06:09:24Z" level=info msg="State transition: init [Idle] -> init [Error]" +time="2025-02-08T06:09:24Z" level=debug msg="Transitioning to error state" transition_test.go:194: has: [{Idle Error} {Error Enter}] expect: [{Idle Error} {Error Enter}] --- PASS: TestTransitions (0.00s) --- PASS: TestTransitions/0 (0.00s) @@ -15173,114 +15209,114 @@ transition_test.go:329: Running state: update-error --- PASS: TestTransitionReporting (0.00s) FAIL -FAIL github.com/mendersoftware/mender/app 230.227s +FAIL github.com/mendersoftware/mender/app 210.809s === RUN TestAmbiguousArgumentsArgs -time="2024-01-06T23:36:33Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" +time="2025-02-08T06:05:53Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" --- PASS: TestAmbiguousArgumentsArgs (0.00s) === RUN TestCheckUpdate -time="2024-01-06T23:36:33Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" +time="2025-02-08T06:05:53Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" --- PASS: TestCheckUpdate (0.00s) === RUN TestSendInventory -time="2024-01-06T23:36:33Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" +time="2025-02-08T06:05:53Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" --- PASS: TestSendInventory (0.00s) === RUN TestRunDaemon -time="2024-01-06T23:36:33Z" level=debug msg="Private key does not exist" -time="2024-01-06T23:36:33Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-06T23:36:33Z" level=info msg="State transition: init [none] -> init [none]" -time="2024-01-06T23:36:33Z" level=debug msg="No state data stored" -time="2024-01-06T23:36:33Z" level=info msg="State transition: init [none] -> idle [Idle]" -time="2024-01-06T23:36:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:36:33Z" level=info msg="State transition: idle [Idle] -> authorize-wait [Idle]" -time="2024-01-06T23:36:33Z" level=debug msg="Handle authorize wait state" -time="2024-01-06T23:36:33Z" level=warning msg="RetryPollIntervalSeconds is not defined" -time="2024-01-06T23:36:33Z" level=debug msg="Wait 0s before next authorization attempt" -time="2024-01-06T23:36:33Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" -time="2024-01-06T23:36:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:36:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:36:33Z" level=debug msg="Handle authorize state" -time="2024-01-06T23:36:33Z" level=debug msg="Needs keys" -time="2024-01-06T23:36:33Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2024-01-06T23:36:34Z" level=debug msg="Tenant token: " -time="2024-01-06T23:36:34Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEArUNX34+CV0yqGqzuMhu5\nAuH7rK6HWi8eEhxmAMuuIrKuStDPn3vnZZepgmcw2BVXNnxBLE1tJ0iFfNb2EmS/\nxie04SyKJ1Db27L0T/bL2CFfua+wTXzzf50XrgkhB6oXzcBUj5rwWtzHxBDslJ4j\nvX5dEO3hTTpaX2JUdYeHVASJz9J6gnyNk/P6v6YF+cwBvGUshN1tb9/yQd3IkHR3\n7EP890/Ld0l42hpnH1PtHZUqFOB0JnPiOq4YsKWf+AMUvAa4VZ3DwhDl3FWIqRTh\nDyg2P8VHN1B8+hs6jvbYOjGkDM48H+fCOoj/oiTioe6MTUKP5dAPsZgmiECm6hmt\nVa4nl5Xj9+QJFkbGRW0UY3IpEBJful2c1U/u18K4sBKuwKAeUBP/oqrnUTPsEh4+\nb/29oPDAXsMOYDiESKSjujNzBJvXexLQA9PDyY9rWiqflWVH685VoTQWCq8Jqlc8\nUQAaRBBns2K7rh4pFOYGCXuG1qm28WJG8O+1eODSzEzHAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2024-01-06T23:36:34Z" level=debug msg="Making an authorization request () to server " -time="2024-01-06T23:36:34Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https:///api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0x4000298370)}" -time="2024-01-06T23:36:34Z" level=error msg="Authorization request error: http: no Host in request URL" -time="2024-01-06T23:36:34Z" level=error msg="Authorize failed: transient error: authorization request failed: generic error occurred while executing authorization request: Post \"https:///api/devices/v1/authentication/auth_requests\": http: no Host in request URL" -time="2024-01-06T23:36:34Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" -time="2024-01-06T23:36:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:36:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:36:34Z" level=debug msg="Handle authorize wait state" -time="2024-01-06T23:36:34Z" level=warning msg="RetryPollIntervalSeconds is not defined" -time="2024-01-06T23:36:34Z" level=debug msg="Wait 4m59.271155759s before next authorization attempt" -time="2024-01-06T23:36:34Z" level=debug msg="SIGUSR1 signal received." -time="2024-01-06T23:36:34Z" level=debug msg="Sent wake up!" -time="2024-01-06T23:36:34Z" level=info msg="Forced wake-up from sleep" -time="2024-01-06T23:36:34Z" level=error msg="Cannot check update or update inventory while in authorize state" -time="2024-01-06T23:36:34Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" -time="2024-01-06T23:36:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:36:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:36:34Z" level=debug msg="Handle authorize state" -time="2024-01-06T23:36:34Z" level=debug msg="Tenant token: " -time="2024-01-06T23:36:34Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEArUNX34+CV0yqGqzuMhu5\nAuH7rK6HWi8eEhxmAMuuIrKuStDPn3vnZZepgmcw2BVXNnxBLE1tJ0iFfNb2EmS/\nxie04SyKJ1Db27L0T/bL2CFfua+wTXzzf50XrgkhB6oXzcBUj5rwWtzHxBDslJ4j\nvX5dEO3hTTpaX2JUdYeHVASJz9J6gnyNk/P6v6YF+cwBvGUshN1tb9/yQd3IkHR3\n7EP890/Ld0l42hpnH1PtHZUqFOB0JnPiOq4YsKWf+AMUvAa4VZ3DwhDl3FWIqRTh\nDyg2P8VHN1B8+hs6jvbYOjGkDM48H+fCOoj/oiTioe6MTUKP5dAPsZgmiECm6hmt\nVa4nl5Xj9+QJFkbGRW0UY3IpEBJful2c1U/u18K4sBKuwKAeUBP/oqrnUTPsEh4+\nb/29oPDAXsMOYDiESKSjujNzBJvXexLQA9PDyY9rWiqflWVH685VoTQWCq8Jqlc8\nUQAaRBBns2K7rh4pFOYGCXuG1qm28WJG8O+1eODSzEzHAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2024-01-06T23:36:34Z" level=debug msg="Making an authorization request () to server " -time="2024-01-06T23:36:34Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https:///api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0x40000b2570)}" -time="2024-01-06T23:36:34Z" level=error msg="Authorization request error: http: no Host in request URL" -time="2024-01-06T23:36:34Z" level=error msg="Authorize failed: transient error: authorization request failed: generic error occurred while executing authorization request: Post \"https:///api/devices/v1/authentication/auth_requests\": http: no Host in request URL" -time="2024-01-06T23:36:34Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" -time="2024-01-06T23:36:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:36:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:36:34Z" level=debug msg="Handle authorize wait state" -time="2024-01-06T23:36:34Z" level=warning msg="RetryPollIntervalSeconds is not defined" -time="2024-01-06T23:36:34Z" level=debug msg="Wait 9m59.133161244s before next authorization attempt" -time="2024-01-06T23:36:35Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-06T23:36:35Z" level=info msg="State transition: init [none] -> init [none]" -time="2024-01-06T23:36:35Z" level=debug msg="No state data stored" -time="2024-01-06T23:36:35Z" level=info msg="State transition: init [none] -> idle [Idle]" -time="2024-01-06T23:36:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:36:35Z" level=info msg="State transition: idle [Idle] -> authorize-wait [Idle]" -time="2024-01-06T23:36:35Z" level=debug msg="Handle authorize wait state" -time="2024-01-06T23:36:35Z" level=warning msg="RetryPollIntervalSeconds is not defined" -time="2024-01-06T23:36:35Z" level=debug msg="Wait 0s before next authorization attempt" -time="2024-01-06T23:36:35Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" -time="2024-01-06T23:36:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:36:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:36:35Z" level=debug msg="Handle authorize state" -time="2024-01-06T23:36:35Z" level=debug msg="Tenant token: " -time="2024-01-06T23:36:35Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEArUNX34+CV0yqGqzuMhu5\nAuH7rK6HWi8eEhxmAMuuIrKuStDPn3vnZZepgmcw2BVXNnxBLE1tJ0iFfNb2EmS/\nxie04SyKJ1Db27L0T/bL2CFfua+wTXzzf50XrgkhB6oXzcBUj5rwWtzHxBDslJ4j\nvX5dEO3hTTpaX2JUdYeHVASJz9J6gnyNk/P6v6YF+cwBvGUshN1tb9/yQd3IkHR3\n7EP890/Ld0l42hpnH1PtHZUqFOB0JnPiOq4YsKWf+AMUvAa4VZ3DwhDl3FWIqRTh\nDyg2P8VHN1B8+hs6jvbYOjGkDM48H+fCOoj/oiTioe6MTUKP5dAPsZgmiECm6hmt\nVa4nl5Xj9+QJFkbGRW0UY3IpEBJful2c1U/u18K4sBKuwKAeUBP/oqrnUTPsEh4+\nb/29oPDAXsMOYDiESKSjujNzBJvXexLQA9PDyY9rWiqflWVH685VoTQWCq8Jqlc8\nUQAaRBBns2K7rh4pFOYGCXuG1qm28WJG8O+1eODSzEzHAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2024-01-06T23:36:35Z" level=debug msg="Making an authorization request () to server " -time="2024-01-06T23:36:35Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https:///api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0x40000b31b0)}" -time="2024-01-06T23:36:35Z" level=error msg="Authorization request error: http: no Host in request URL" -time="2024-01-06T23:36:35Z" level=error msg="Authorize failed: transient error: authorization request failed: generic error occurred while executing authorization request: Post \"https:///api/devices/v1/authentication/auth_requests\": http: no Host in request URL" -time="2024-01-06T23:36:35Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" -time="2024-01-06T23:36:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:36:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:36:35Z" level=debug msg="Handle authorize wait state" -time="2024-01-06T23:36:35Z" level=warning msg="RetryPollIntervalSeconds is not defined" -time="2024-01-06T23:36:35Z" level=debug msg="Wait 4m59.892015698s before next authorization attempt" -time="2024-01-06T23:36:35Z" level=debug msg="SIGUSR2 signal received." -time="2024-01-06T23:36:35Z" level=debug msg="Sent wake up!" -time="2024-01-06T23:36:35Z" level=info msg="Forced wake-up from sleep" -time="2024-01-06T23:36:35Z" level=error msg="Cannot check update or update inventory while in authorize state" -time="2024-01-06T23:36:35Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" -time="2024-01-06T23:36:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:36:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:36:35Z" level=debug msg="Handle authorize state" -time="2024-01-06T23:36:35Z" level=debug msg="SIGUSR2 signal received." -time="2024-01-06T23:36:35Z" level=debug msg="Sent wake up!" -time="2024-01-06T23:36:35Z" level=info msg="Forced wake-up from sleep" -time="2024-01-06T23:36:35Z" level=debug msg="Tenant token: " -time="2024-01-06T23:36:35Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEArUNX34+CV0yqGqzuMhu5\nAuH7rK6HWi8eEhxmAMuuIrKuStDPn3vnZZepgmcw2BVXNnxBLE1tJ0iFfNb2EmS/\nxie04SyKJ1Db27L0T/bL2CFfua+wTXzzf50XrgkhB6oXzcBUj5rwWtzHxBDslJ4j\nvX5dEO3hTTpaX2JUdYeHVASJz9J6gnyNk/P6v6YF+cwBvGUshN1tb9/yQd3IkHR3\n7EP890/Ld0l42hpnH1PtHZUqFOB0JnPiOq4YsKWf+AMUvAa4VZ3DwhDl3FWIqRTh\nDyg2P8VHN1B8+hs6jvbYOjGkDM48H+fCOoj/oiTioe6MTUKP5dAPsZgmiECm6hmt\nVa4nl5Xj9+QJFkbGRW0UY3IpEBJful2c1U/u18K4sBKuwKAeUBP/oqrnUTPsEh4+\nb/29oPDAXsMOYDiESKSjujNzBJvXexLQA9PDyY9rWiqflWVH685VoTQWCq8Jqlc8\nUQAaRBBns2K7rh4pFOYGCXuG1qm28WJG8O+1eODSzEzHAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2024-01-06T23:36:35Z" level=debug msg="Making an authorization request () to server " -time="2024-01-06T23:36:35Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https:///api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0x400030c1a0)}" -time="2024-01-06T23:36:35Z" level=error msg="Authorization request error: http: no Host in request URL" -time="2024-01-06T23:36:35Z" level=error msg="Authorize failed: transient error: authorization request failed: generic error occurred while executing authorization request: Post \"https:///api/devices/v1/authentication/auth_requests\": http: no Host in request URL" -time="2024-01-06T23:36:35Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" -time="2024-01-06T23:36:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:36:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-06T23:36:35Z" level=debug msg="Handle authorize wait state" -time="2024-01-06T23:36:35Z" level=warning msg="RetryPollIntervalSeconds is not defined" -time="2024-01-06T23:36:35Z" level=debug msg="Wait 9m59.726584905s before next authorization attempt" ---- PASS: TestRunDaemon (3.02s) +time="2025-02-08T06:05:53Z" level=debug msg="Private key does not exist" +time="2025-02-08T06:05:53Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2025-02-08T06:05:53Z" level=info msg="State transition: init [none] -> init [none]" +time="2025-02-08T06:05:53Z" level=debug msg="No state data stored" +time="2025-02-08T06:05:53Z" level=info msg="State transition: init [none] -> idle [Idle]" +time="2025-02-08T06:05:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:05:53Z" level=info msg="State transition: idle [Idle] -> authorize-wait [Idle]" +time="2025-02-08T06:05:53Z" level=debug msg="Handle authorize wait state" +time="2025-02-08T06:05:53Z" level=warning msg="RetryPollIntervalSeconds is not defined" +time="2025-02-08T06:05:53Z" level=debug msg="Wait 0s before next authorization attempt" +time="2025-02-08T06:05:53Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" +time="2025-02-08T06:05:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:05:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:05:53Z" level=debug msg="Handle authorize state" +time="2025-02-08T06:05:53Z" level=debug msg="Needs keys" +time="2025-02-08T06:05:53Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2025-02-08T06:05:54Z" level=debug msg="Tenant token: " +time="2025-02-08T06:05:54Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAxgxatWhtgQPcnR2VjTKD\nszoqyJ43nPX5wCQHTRLJNWPiQOMuaTAZBpbKpHkmELDmDeIRN4UoYLXh5Vjc7YV1\n1BtowLSzPvzYmO54TEh8dBJyr7NrmRxnz+puzoVOKoc9xMllAM+dtsGYzWxTigZ7\nsKo+h1mNMMm8M6zd9x5nY5TEAZhkLsiAZp4b6kHEWFsvrm8P8pdfueaIiuiC/5bA\n71qasWnRiiYVdNtMmQlb8kXwkuQGUg8scYSt1GlBcPZ/VA+UWBCbX7l7HjtA4DUu\nwJdESMNIKXvfAhGSBHUJS9dOgLTm27fLtqbFsMDV4Hs7r33pfenjdqqM8hjwE5/W\nvKuO9OJdfeBhTfD7h/E/1e0ZwEyw8MdQWXdbcFlKbO5Te9LpeZ6IMrxLr9JJOwyx\n6bYv5jd06GaGLbwb8U1peNdkjmSXW1ep1c2h8dxOE135ybwBXd7oHQ29h6rKG3Cn\nPgqqQD6EWqO6I2/UoSVZs9EF1cVjrpmvikaCOrZLBz1FAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2025-02-08T06:05:54Z" level=debug msg="Making an authorization request () to server " +time="2025-02-08T06:05:54Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https:///api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0x40002a0370)}" +time="2025-02-08T06:05:54Z" level=error msg="Authorization request error: http: no Host in request URL" +time="2025-02-08T06:05:54Z" 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="2025-02-08T06:05:54Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" +time="2025-02-08T06:05:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:05:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:05:54Z" level=debug msg="Handle authorize wait state" +time="2025-02-08T06:05:54Z" level=warning msg="RetryPollIntervalSeconds is not defined" +time="2025-02-08T06:05:54Z" level=debug msg="Wait 4m59.69464108s before next authorization attempt" +time="2025-02-08T06:05:54Z" level=debug msg="SIGUSR2 signal received." +time="2025-02-08T06:05:54Z" level=debug msg="Sent wake up!" +time="2025-02-08T06:05:54Z" level=info msg="Forced wake-up from sleep" +time="2025-02-08T06:05:54Z" level=error msg="Cannot check update or update inventory while in authorize state" +time="2025-02-08T06:05:54Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" +time="2025-02-08T06:05:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:05:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:05:54Z" level=debug msg="Handle authorize state" +time="2025-02-08T06:05:54Z" level=debug msg="Tenant token: " +time="2025-02-08T06:05:54Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAxgxatWhtgQPcnR2VjTKD\nszoqyJ43nPX5wCQHTRLJNWPiQOMuaTAZBpbKpHkmELDmDeIRN4UoYLXh5Vjc7YV1\n1BtowLSzPvzYmO54TEh8dBJyr7NrmRxnz+puzoVOKoc9xMllAM+dtsGYzWxTigZ7\nsKo+h1mNMMm8M6zd9x5nY5TEAZhkLsiAZp4b6kHEWFsvrm8P8pdfueaIiuiC/5bA\n71qasWnRiiYVdNtMmQlb8kXwkuQGUg8scYSt1GlBcPZ/VA+UWBCbX7l7HjtA4DUu\nwJdESMNIKXvfAhGSBHUJS9dOgLTm27fLtqbFsMDV4Hs7r33pfenjdqqM8hjwE5/W\nvKuO9OJdfeBhTfD7h/E/1e0ZwEyw8MdQWXdbcFlKbO5Te9LpeZ6IMrxLr9JJOwyx\n6bYv5jd06GaGLbwb8U1peNdkjmSXW1ep1c2h8dxOE135ybwBXd7oHQ29h6rKG3Cn\nPgqqQD6EWqO6I2/UoSVZs9EF1cVjrpmvikaCOrZLBz1FAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2025-02-08T06:05:54Z" level=debug msg="Making an authorization request () to server " +time="2025-02-08T06:05:54Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https:///api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0x40001fe1a0)}" +time="2025-02-08T06:05:54Z" level=error msg="Authorization request error: http: no Host in request URL" +time="2025-02-08T06:05:54Z" 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="2025-02-08T06:05:54Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" +time="2025-02-08T06:05:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:05:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:05:54Z" level=debug msg="Handle authorize wait state" +time="2025-02-08T06:05:54Z" level=warning msg="RetryPollIntervalSeconds is not defined" +time="2025-02-08T06:05:54Z" level=debug msg="Wait 9m59.56371416s before next authorization attempt" +time="2025-02-08T06:05:55Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2025-02-08T06:05:55Z" level=info msg="State transition: init [none] -> init [none]" +time="2025-02-08T06:05:55Z" level=debug msg="No state data stored" +time="2025-02-08T06:05:55Z" level=info msg="State transition: init [none] -> idle [Idle]" +time="2025-02-08T06:05:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:05:55Z" level=info msg="State transition: idle [Idle] -> authorize-wait [Idle]" +time="2025-02-08T06:05:55Z" level=debug msg="Handle authorize wait state" +time="2025-02-08T06:05:55Z" level=warning msg="RetryPollIntervalSeconds is not defined" +time="2025-02-08T06:05:55Z" level=debug msg="Wait 0s before next authorization attempt" +time="2025-02-08T06:05:55Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" +time="2025-02-08T06:05:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:05:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:05:55Z" level=debug msg="Handle authorize state" +time="2025-02-08T06:05:55Z" level=debug msg="Tenant token: " +time="2025-02-08T06:05:55Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAxgxatWhtgQPcnR2VjTKD\nszoqyJ43nPX5wCQHTRLJNWPiQOMuaTAZBpbKpHkmELDmDeIRN4UoYLXh5Vjc7YV1\n1BtowLSzPvzYmO54TEh8dBJyr7NrmRxnz+puzoVOKoc9xMllAM+dtsGYzWxTigZ7\nsKo+h1mNMMm8M6zd9x5nY5TEAZhkLsiAZp4b6kHEWFsvrm8P8pdfueaIiuiC/5bA\n71qasWnRiiYVdNtMmQlb8kXwkuQGUg8scYSt1GlBcPZ/VA+UWBCbX7l7HjtA4DUu\nwJdESMNIKXvfAhGSBHUJS9dOgLTm27fLtqbFsMDV4Hs7r33pfenjdqqM8hjwE5/W\nvKuO9OJdfeBhTfD7h/E/1e0ZwEyw8MdQWXdbcFlKbO5Te9LpeZ6IMrxLr9JJOwyx\n6bYv5jd06GaGLbwb8U1peNdkjmSXW1ep1c2h8dxOE135ybwBXd7oHQ29h6rKG3Cn\nPgqqQD6EWqO6I2/UoSVZs9EF1cVjrpmvikaCOrZLBz1FAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2025-02-08T06:05:55Z" level=debug msg="Making an authorization request () to server " +time="2025-02-08T06:05:55Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https:///api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0x40001fede0)}" +time="2025-02-08T06:05:55Z" level=error msg="Authorization request error: http: no Host in request URL" +time="2025-02-08T06:05:55Z" 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="2025-02-08T06:05:55Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" +time="2025-02-08T06:05:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:05:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:05:55Z" level=debug msg="Handle authorize wait state" +time="2025-02-08T06:05:55Z" level=warning msg="RetryPollIntervalSeconds is not defined" +time="2025-02-08T06:05:55Z" level=debug msg="Wait 4m59.96863064s before next authorization attempt" +time="2025-02-08T06:05:55Z" level=debug msg="SIGUSR1 signal received." +time="2025-02-08T06:05:55Z" level=debug msg="Sent wake up!" +time="2025-02-08T06:05:55Z" level=info msg="Forced wake-up from sleep" +time="2025-02-08T06:05:55Z" level=debug msg="SIGUSR1 signal received." +time="2025-02-08T06:05:55Z" level=debug msg="Sent wake up!" +time="2025-02-08T06:05:55Z" level=info msg="Forced wake-up from sleep" +time="2025-02-08T06:05:55Z" level=error msg="Cannot check update or update inventory while in authorize state" +time="2025-02-08T06:05:55Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" +time="2025-02-08T06:05:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:05:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:05:55Z" level=debug msg="Handle authorize state" +time="2025-02-08T06:05:55Z" level=debug msg="Tenant token: " +time="2025-02-08T06:05:55Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAxgxatWhtgQPcnR2VjTKD\nszoqyJ43nPX5wCQHTRLJNWPiQOMuaTAZBpbKpHkmELDmDeIRN4UoYLXh5Vjc7YV1\n1BtowLSzPvzYmO54TEh8dBJyr7NrmRxnz+puzoVOKoc9xMllAM+dtsGYzWxTigZ7\nsKo+h1mNMMm8M6zd9x5nY5TEAZhkLsiAZp4b6kHEWFsvrm8P8pdfueaIiuiC/5bA\n71qasWnRiiYVdNtMmQlb8kXwkuQGUg8scYSt1GlBcPZ/VA+UWBCbX7l7HjtA4DUu\nwJdESMNIKXvfAhGSBHUJS9dOgLTm27fLtqbFsMDV4Hs7r33pfenjdqqM8hjwE5/W\nvKuO9OJdfeBhTfD7h/E/1e0ZwEyw8MdQWXdbcFlKbO5Te9LpeZ6IMrxLr9JJOwyx\n6bYv5jd06GaGLbwb8U1peNdkjmSXW1ep1c2h8dxOE135ybwBXd7oHQ29h6rKG3Cn\nPgqqQD6EWqO6I2/UoSVZs9EF1cVjrpmvikaCOrZLBz1FAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2025-02-08T06:05:55Z" level=debug msg="Making an authorization request () to server " +time="2025-02-08T06:05:55Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https:///api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0x40002a0de0)}" +time="2025-02-08T06:05:55Z" level=error msg="Authorization request error: http: no Host in request URL" +time="2025-02-08T06:05:55Z" 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="2025-02-08T06:05:55Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" +time="2025-02-08T06:05:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:05:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2025-02-08T06:05:55Z" level=debug msg="Handle authorize wait state" +time="2025-02-08T06:05:55Z" level=warning msg="RetryPollIntervalSeconds is not defined" +time="2025-02-08T06:05:55Z" level=debug msg="Wait 9m59.76826844s before next authorization attempt" +--- PASS: TestRunDaemon (2.60s) === RUN TestLoggingOptions not a valid logrus Level: "crap" @@ -15368,7 +15404,7 @@ --skipverify Skip certificate verification. --help, -h show help --version, -v print the version -time="2024-01-06T23:36:36Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" func="github.com/mendersoftware/mender/cli.(*runOptionsType).handleLogFlags" file="/build/reproducible-path/mender-client-2.4.1/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mender/cli/cli.go:583" +time="2025-02-08T06:05:56Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" func="github.com/mendersoftware/mender/cli.(*runOptionsType).handleLogFlags" file="/build/reproducible-path/mender-client-2.4.1/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mender/cli/cli.go:583" NAME: mender - manage and start the Mender client. @@ -15411,8 +15447,8 @@ --skipverify Skip certificate verification. --help, -h show help --version, -v print the version -time="2024-01-06T23:36:36Z" level=debug msg="Should show" func=github.com/mendersoftware/mender/cli.TestLoggingOptions file="/build/reproducible-path/mender-client-2.4.1/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mender/cli/cli_test.go:172" -time="2024-01-06T23:36:36Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" func="github.com/mendersoftware/mender/cli.(*runOptionsType).handleLogFlags" file="/build/reproducible-path/mender-client-2.4.1/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mender/cli/cli.go:583" +time="2025-02-08T06:05:56Z" level=debug msg="Should show" func=github.com/mendersoftware/mender/cli.TestLoggingOptions file="/build/reproducible-path/mender-client-2.4.1/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mender/cli/cli_test.go:172" +time="2025-02-08T06:05:56Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" func="github.com/mendersoftware/mender/cli.(*runOptionsType).handleLogFlags" file="/build/reproducible-path/mender-client-2.4.1/obj-aarch64-linux-gnu/src/github.com/mendersoftware/mender/cli/cli.go:583" NAME: mender - manage and start the Mender client. @@ -15543,16 +15579,16 @@ === RUN TestVersion --- PASS: TestVersion (0.00s) === RUN TestMainBootstrap ---- PASS: TestMainBootstrap (3.13s) +--- PASS: TestMainBootstrap (2.08s) === RUN TestPrintArtifactName foobar db-name foobar ---- PASS: TestPrintArtifactName (0.16s) +--- PASS: TestPrintArtifactName (0.00s) === RUN TestGetMenderDaemonPID ---- PASS: TestGetMenderDaemonPID (0.02s) +--- PASS: TestGetMenderDaemonPID (0.00s) === RUN TestInvalidServerCertificateBoot ---- PASS: TestInvalidServerCertificateBoot (0.10s) +--- PASS: TestInvalidServerCertificateBoot (0.11s) === RUN TestIgnoreServerConfigVerification Mender Client Setup =================== @@ -15571,25 +15607,25 @@ === RUN TestSetupInteractiveMode The device type property is used to determine which Mender Artifact are compatible with this device. -Enter a name for the device type (e.g. raspberrypi3): [codethink02-arm64] +Enter a name for the device type (e.g. raspberrypi3): [codethink03-arm64] Are you connecting this device to hosted.mender.io? [Y/n] Demo mode uses short poll intervals and assumes the default demo server setup. (Recommended for testing.) Do you want to run the client in demo mode? [Y/n] Set the IP of the Mender Server: [127.0.0.1] The device type property is used to determine which Mender Artifact are compatible with this device. -Enter a name for the device type (e.g. raspberrypi3): [codethink02-arm64] +Enter a name for the device type (e.g. raspberrypi3): [codethink03-arm64] Are you connecting this device to hosted.mender.io? [Y/n] Demo mode uses short poll intervals and assumes the default demo server setup. (Recommended for testing.) Do you want to run the client in demo mode? [Y/n] The device type property is used to determine which Mender Artifact are compatible with this device. -Enter a name for the device type (e.g. raspberrypi3): [codethink02-arm64] +Enter a name for the device type (e.g. raspberrypi3): [codethink03-arm64] Are you connecting this device to hosted.mender.io? [Y/n] Demo mode uses short poll intervals and assumes the default demo server setup. (Recommended for testing.) Do you want to run the client in demo mode? [Y/n] Set the update poll interval - the frequency with which the client will send an update check request to the server, in seconds: [1800]Set the inventory poll interval - the frequency with which the client will send inventory data to the server, in seconds: [28800] Set the retry poll interval - the frequency with which the client tries to communicate with the server (note: the client may attempt more often initially based on the previous intervals, but will fall back to this value if theserver is busy) [300] The device type property is used to determine which Mender Artifact are compatible with this device. -Enter a name for the device type (e.g. raspberrypi3): [codethink02-arm64] +Enter a name for the device type (e.g. raspberrypi3): [codethink03-arm64] Are you connecting this device to hosted.mender.io? [Y/n] Demo mode uses short poll intervals and assumes the default demo server setup. (Recommended for testing.) Do you want to run the client in demo mode? [Y/n] @@ -15600,88 +15636,85 @@ === RUN TestSetupFlags --- PASS: TestSetupFlags (0.00s) FAIL -FAIL github.com/mendersoftware/mender/cli 6.534s +FAIL github.com/mendersoftware/mender/cli 4.848s === RUN TestClientAuthMakeReq client_auth_test.go:75: data: foobar data --- PASS: TestClientAuthMakeReq (0.00s) === RUN TestClientAuth ---- PASS: TestClientAuth (6.00s) +--- PASS: TestClientAuth (1.67s) === RUN TestClientAuthExpiredCert -time="2024-01-06T23:36:36Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:44461/api/devices/v1/authentication/auth_requests\", Err:certificate has expired, openssl verify rc: 10 server cert file: testdata/server.expired.crt}" -time="2024-01-06T23:36:36Z" level=error msg="Authorization request error: certificate has expired, openssl verify rc: 10 server cert file: testdata/server.expired.crt" ---- PASS: TestClientAuthExpiredCert (0.89s) +time="2025-02-08T06:05:54Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:34443/api/devices/v1/authentication/auth_requests\", Err:certificate has expired, openssl verify rc: 10 server cert file: testdata/server.expired.crt}" +time="2025-02-08T06:05:54Z" level=error msg="Authorization request error: certificate has expired, openssl verify rc: 10 server cert file: testdata/server.expired.crt" +--- PASS: TestClientAuthExpiredCert (0.39s) === RUN TestClientAuthUnknownAuthorityCert -time="2024-01-06T23:36:36Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:33037/api/devices/v1/authentication/auth_requests\", Err:certificate signed by unknown authority, openssl verify rc: 20 server cert file: testdata/server.unknown-authority.crt}" -time="2024-01-06T23:36:36Z" level=error msg="Authorization request error: certificate signed by unknown authority, openssl verify rc: 20 server cert file: testdata/server.unknown-authority.crt" -2024/01/06 23:36:36 http: TLS handshake error from 127.0.0.1:52612: read tcp 127.0.0.1:33037->127.0.0.1:52612: use of closed network connection ---- PASS: TestClientAuthUnknownAuthorityCert (0.45s) +time="2025-02-08T06:05:54Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:35897/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="2025-02-08T06:05:54Z" level=error msg="Authorization request error: certificate signed by unknown authority, openssl verify rc: 20 server cert file: testdata/server.unknown-authority.crt" +--- PASS: TestClientAuthUnknownAuthorityCert (0.13s) === RUN TestClientAuthDepthZeroSelfSignedCert -time="2024-01-06T23:36:39Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:36169/api/devices/v1/authentication/auth_requests\", Err:depth zero self-signed certificate, openssl verify rc: 18 server cert file: testdata/server.zero.depth.self.signed.crt}" -time="2024-01-06T23:36:39Z" level=error msg="Authorization request error: depth zero self-signed certificate, openssl verify rc: 18 server cert file: testdata/server.zero.depth.self.signed.crt" ---- PASS: TestClientAuthDepthZeroSelfSignedCert (2.53s) +time="2025-02-08T06:05:56Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:39265/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="2025-02-08T06:05:56Z" 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 (1.80s) === RUN TestClientAuthEndEntityKeyTooSmall -time="2024-01-06T23:36:40Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:40423/api/devices/v1/authentication/auth_requests\", Err:end entity key too short, openssl verify rc: 66 server cert file: testdata/server.crt}" -time="2024-01-06T23:36:40Z" level=error msg="Authorization request error: end entity key too short, openssl verify rc: 66 server cert file: testdata/server.crt" -2024/01/06 23:36:40 http: TLS handshake error from 127.0.0.1:37208: read tcp 127.0.0.1:40423->127.0.0.1:37208: use of closed network connection ---- PASS: TestClientAuthEndEntityKeyTooSmall (0.75s) +time="2025-02-08T06:05:56Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:41287/api/devices/v1/authentication/auth_requests\", Err:end entity key too short, openssl verify rc: 66 server cert file: testdata/server.crt}" +time="2025-02-08T06:05:56Z" level=error msg="Authorization request error: end entity key too short, openssl verify rc: 66 server cert file: testdata/server.crt" +--- PASS: TestClientAuthEndEntityKeyTooSmall (0.12s) === RUN TestClientAuthNoCert -time="2024-01-06T23:36:40Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (testdata/server.non-existing.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" -time="2024-01-06T23:36:40Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: system library:fopen:No such file or directory\nBIO routines:BIO_new_file:no such file\nx509 certificate routines:X509_load_cert_crl_file:system lib" ---- PASS: TestClientAuthNoCert (0.21s) +time="2025-02-08T06:05:56Z" 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="2025-02-08T06:05:56Z" 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.11s) === RUN TestClientAuthHostValidationNocheck ---- PASS: TestClientAuthHostValidationNocheck (2.32s) +--- PASS: TestClientAuthHostValidationNocheck (1.75s) === RUN TestClientAuthHostValidationError -time="2024-01-06T23:36:42Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:43637/api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0x4000072cc0)}" -time="2024-01-06T23:36:42Z" level=error msg="Authorization request error: Host validation error" ---- PASS: TestClientAuthHostValidationError (0.13s) +time="2025-02-08T06:05:58Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:36215/api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0x4000072cc0)}" +time="2025-02-08T06:05:58Z" level=error msg="Authorization request error: Host validation error" +--- PASS: TestClientAuthHostValidationError (0.12s) === RUN TestClientAuthNotValidCertificate -time="2024-01-06T23:36:43Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:32983/api/devices/v1/authentication/auth_requests\", Err:not a valid certificate, openssl verify rc: 67 server cert file: testdata/server.ca.key.too.small.crt}" -time="2024-01-06T23:36:43Z" level=error msg="Authorization request error: not a valid certificate, openssl verify rc: 67 server cert file: testdata/server.ca.key.too.small.crt" -2024/01/06 23:36:43 http: TLS handshake error from 127.0.0.1:48682: read tcp 127.0.0.1:32983->127.0.0.1:48682: use of closed network connection ---- PASS: TestClientAuthNotValidCertificate (0.25s) +time="2025-02-08T06:05:58Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:46833/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="2025-02-08T06:05:58Z" level=error msg="Authorization request error: not a valid certificate, openssl verify rc: 67 server cert file: testdata/server.ca.key.too.small.crt" +--- PASS: TestClientAuthNotValidCertificate (0.14s) === RUN TestInventoryClient -time="2024-01-06T23:36:43Z" level=error msg="Failed to submit inventory data: foo" -time="2024-01-06T23:36:45Z" level=error msg="Got unexpected HTTP status when submitting to inventory: 401" ---- PASS: TestInventoryClient (2.03s) +time="2025-02-08T06:05:58Z" level=error msg="Failed to submit inventory data: foo" +time="2025-02-08T06:06:00Z" level=error msg="Got unexpected HTTP status when submitting to inventory: 401" +--- PASS: TestInventoryClient (1.78s) === RUN TestLogUploadClient -time="2024-01-06T23:36:45Z" level=error msg="failed to upload logs: foo" -time="2024-01-06T23:36:47Z" level=error msg="Got unexpected HTTP status when uploading log: 401" ---- PASS: TestLogUploadClient (2.06s) +time="2025-02-08T06:06:00Z" level=error msg="failed to upload logs: foo" +time="2025-02-08T06:06:02Z" level=error msg="Got unexpected HTTP status when uploading log: 401" +--- PASS: TestLogUploadClient (1.79s) === RUN TestStatusClient -time="2024-01-06T23:36:47Z" level=error msg="Failed to report status: foo" -time="2024-01-06T23:36:50Z" level=error msg="Got unexpected HTTP status when reporting status: 401" -time="2024-01-06T23:36:50Z" level=warning msg="Status report rejected, deployment aborted at the backend" ---- PASS: TestStatusClient (2.80s) +time="2025-02-08T06:06:02Z" level=error msg="Failed to report status: foo" +time="2025-02-08T06:06:04Z" level=error msg="Got unexpected HTTP status when reporting status: 401" +time="2025-02-08T06:06:04Z" level=warning msg="Status report rejected, deployment aborted at the backend" +--- PASS: TestStatusClient (1.74s) === RUN TestHttpClient -time="2024-01-06T23:36:50Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (testdata/missing.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" -time="2024-01-06T23:36:50Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: system library:fopen:No such file or directory\nBIO routines:BIO_new_file:no such file\nx509 certificate routines:X509_load_cert_crl_file:system lib" ---- PASS: TestHttpClient (0.91s) +time="2025-02-08T06:06:04Z" 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="2025-02-08T06:06:04Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: system library:fopen:No such file or directory\nBIO routines:BIO_new_file:no such file\nx509 certificate routines:X509_load_cert_crl_file:system lib" +--- PASS: TestHttpClient (0.23s) === RUN TestApiClientRequest -time="2024-01-06T23:36:52Z" level=info msg="Device unauthorized; attempting reauthorization" -time="2024-01-06T23:36:52Z" level=warning msg="Reauthorization failed with error: " -time="2024-01-06T23:36:52Z" level=info msg="Device unauthorized; attempting reauthorization" ---- PASS: TestApiClientRequest (1.93s) +time="2025-02-08T06:06:06Z" level=info msg="Device unauthorized; attempting reauthorization" +time="2025-02-08T06:06:06Z" level=warning msg="Reauthorization failed with error: " +time="2025-02-08T06:06:06Z" level=info msg="Device unauthorized; attempting reauthorization" +--- PASS: TestApiClientRequest (1.81s) === RUN TestClientConnectionTimeout -2024/01/06 23:36:55 http: TLS handshake error from 127.0.0.1:44404: write tcp 127.0.0.1:39419->127.0.0.1:44404: use of closed network connection ---- PASS: TestClientConnectionTimeout (2.59s) +2025/02/08 06:06:07 http: TLS handshake error from 127.0.0.1:51174: write tcp 127.0.0.1:35431->127.0.0.1:51174: use of closed network connection +--- PASS: TestClientConnectionTimeout (1.77s) === RUN TestHttpClientUrl --- PASS: TestHttpClientUrl (0.00s) === RUN TestLoadingTrust === RUN TestLoadingTrust/Test_loading_server_trust -time="2024-01-06T23:36:55Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (missing.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" +time="2025-02-08T06:06:08Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (missing.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" === RUN TestLoadingTrust/Test_loading_client_trust ---- PASS: TestLoadingTrust (0.28s) - --- PASS: TestLoadingTrust/Test_loading_server_trust (0.27s) - --- PASS: TestLoadingTrust/Test_loading_client_trust (0.01s) +--- PASS: TestLoadingTrust (0.11s) + --- PASS: TestLoadingTrust/Test_loading_server_trust (0.11s) + --- PASS: TestLoadingTrust/Test_loading_client_trust (0.00s) === RUN TestExponentialBackoffTimeCalculation --- PASS: TestExponentialBackoffTimeCalculation (0.00s) === RUN TestUnMarshalErrorMessage --- PASS: TestUnMarshalErrorMessage (0.00s) === RUN TestFailoverAPICall -time="2024-01-06T23:36:55Z" level=warning msg="Server \"fakeURL.404\" failed to serve request \"\". Attempting \"https://127.0.0.1:33089\"" ---- PASS: TestFailoverAPICall (2.97s) +time="2025-02-08T06:06:08Z" level=warning msg="Server \"fakeURL.404\" failed to serve request \"\". Attempting \"https://127.0.0.1:43527\"" +--- PASS: TestFailoverAPICall (1.82s) === RUN TestListSystemCertsFound ---- PASS: TestListSystemCertsFound (0.00s) +--- PASS: TestListSystemCertsFound (0.01s) === RUN TestParseUpdateResponse === RUN TestParseUpdateResponse/0 === PAUSE TestParseUpdateResponse/0 @@ -15702,45 +15735,45 @@ === RUN TestParseUpdateResponse/8 === PAUSE TestParseUpdateResponse/8 === CONT TestParseUpdateResponse/0 -=== CONT TestParseUpdateResponse/8 -=== CONT TestParseUpdateResponse/7 -=== CONT TestParseUpdateResponse/6 === CONT TestParseUpdateResponse/5 +=== CONT TestParseUpdateResponse/7 === CONT TestParseUpdateResponse/4 +=== CONT TestParseUpdateResponse/6 === CONT TestParseUpdateResponse/3 === CONT TestParseUpdateResponse/2 === CONT TestParseUpdateResponse/1 +=== CONT TestParseUpdateResponse/8 --- PASS: TestParseUpdateResponse (0.00s) --- PASS: TestParseUpdateResponse/0 (0.00s) - --- PASS: TestParseUpdateResponse/8 (0.00s) --- PASS: TestParseUpdateResponse/7 (0.00s) - --- PASS: TestParseUpdateResponse/6 (0.00s) - --- PASS: TestParseUpdateResponse/5 (0.00s) --- PASS: TestParseUpdateResponse/4 (0.00s) + --- PASS: TestParseUpdateResponse/5 (0.00s) + --- PASS: TestParseUpdateResponse/6 (0.00s) --- PASS: TestParseUpdateResponse/3 (0.00s) --- PASS: TestParseUpdateResponse/2 (0.00s) --- PASS: TestParseUpdateResponse/1 (0.00s) + --- PASS: TestParseUpdateResponse/8 (0.00s) === RUN Test_GetScheduledUpdate_errorParsingResponse_UpdateFailing -time="2024-01-06T23:36:58Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (test/server.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" -time="2024-01-06T23:36:58Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: system library:fopen:No such file or directory\nBIO routines:BIO_new_file:no such file\nx509 certificate routines:X509_load_cert_crl_file:system lib" ---- PASS: Test_GetScheduledUpdate_errorParsingResponse_UpdateFailing (2.68s) +time="2025-02-08T06:06:10Z" 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="2025-02-08T06:06:10Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: system library:fopen:No such file or directory\nBIO routines:BIO_new_file:no such file\nx509 certificate routines:X509_load_cert_crl_file:system lib" +--- PASS: Test_GetScheduledUpdate_errorParsingResponse_UpdateFailing (1.78s) === RUN Test_GetScheduledUpdate_responseMissingParameters_UpdateFailing ---- PASS: Test_GetScheduledUpdate_responseMissingParameters_UpdateFailing (1.82s) +--- PASS: Test_GetScheduledUpdate_responseMissingParameters_UpdateFailing (1.79s) === RUN Test_GetScheduledUpdate_ParsingResponseOK_updateSuccess -time="2024-01-06T23:37:05Z" level=info msg="Correct request for getting image from: https://menderupdate.com [name: myapp-release-z-build-123; devices: [BBB]]" ---- PASS: Test_GetScheduledUpdate_ParsingResponseOK_updateSuccess (2.20s) +time="2025-02-08T06:06:15Z" 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 (1.82s) === RUN Test_FetchUpdate_noContent_UpdateFailing -time="2024-01-06T23:37:05Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (server.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" -time="2024-01-06T23:37:05Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: system library:fopen:No such file or directory\nBIO routines:BIO_new_file:no such file\nx509 certificate routines:X509_load_cert_crl_file:system lib" -time="2024-01-06T23:37:07Z" level=error msg="Can not fetch update image: Get \"https://127.0.0.1:45095\": depth zero self-signed certificate, openssl verify rc: 18 server cert file: server.crt" ---- PASS: Test_FetchUpdate_noContent_UpdateFailing (2.01s) +time="2025-02-08T06:06:15Z" 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="2025-02-08T06:06:15Z" 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="2025-02-08T06:06:17Z" level=error msg="Can not fetch update image: Get \"https://127.0.0.1:37943\": depth zero self-signed certificate, openssl verify rc: 18 server cert file: server.crt" +--- PASS: Test_FetchUpdate_noContent_UpdateFailing (1.78s) === RUN Test_FetchUpdate_invalidRequest_UpdateFailing -time="2024-01-06T23:37:07Z" level=error msg="Can not fetch update image: Get \"broken-request\": unsupported protocol scheme \"\"" ---- PASS: Test_FetchUpdate_invalidRequest_UpdateFailing (0.06s) +time="2025-02-08T06:06:17Z" level=error msg="Can not fetch update image: Get \"broken-request\": unsupported protocol scheme \"\"" +--- PASS: Test_FetchUpdate_invalidRequest_UpdateFailing (0.11s) === RUN Test_FetchUpdate_correctContent_UpdateFetched ---- PASS: Test_FetchUpdate_correctContent_UpdateFetched (2.99s) +--- PASS: Test_FetchUpdate_correctContent_UpdateFetched (1.78s) === RUN Test_UpdateApiClientError -time="2024-01-06T23:37:10Z" level=error msg="Can not fetch update image: foo" +time="2025-02-08T06:06:18Z" 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 @@ -15748,7 +15781,7 @@ client_update_test.go:386: http://foo.bar/api/devices/v1/deployments/device/deployments/next?artifact_name=foo&device_type=hammer --- PASS: TestMakeUpdateCheckRequest (0.00s) === RUN TestGetUpdateInfo ---- PASS: TestGetUpdateInfo (6.14s) +--- PASS: TestGetUpdateInfo (5.31s) === RUN TestBrokenReadAndPartialDownload === RUN TestBrokenReadAndPartialDownload/group === RUN TestBrokenReadAndPartialDownload/group/success @@ -15785,502 +15818,502 @@ === PAUSE TestBrokenReadAndPartialDownload/group/serverDown === CONT TestBrokenReadAndPartialDownload/group/success === CONT TestBrokenReadAndPartialDownload/group/improperlyFormattedContentRange -=== CONT TestBrokenReadAndPartialDownload/group/noPartialContentSupport -=== CONT TestBrokenReadAndPartialDownload/group/lateRangeStart -=== CONT TestBrokenReadAndPartialDownload/group/formattedButInvalidContentRange -=== CONT TestBrokenReadAndPartialDownload/group/emptyContentRange -=== CONT TestBrokenReadAndPartialDownload/group/brokenContentLength === CONT TestBrokenReadAndPartialDownload/group/garbledContentStart -=== CONT TestBrokenReadAndPartialDownload/group/serverDown -=== CONT TestBrokenReadAndPartialDownload/group/serverDownAndUp -=== CONT TestBrokenReadAndPartialDownload/group/earlyRangeStart -=== CONT TestBrokenReadAndPartialDownload/group/missingContentLength -time="2024-01-06T23:37:16Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:16Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:16Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:16Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:16Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:16Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:16Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:16Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:16Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:16Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:16Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:16Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:16Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:16Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:17Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:17Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:17Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:17Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:17Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:17Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:17Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:17Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:17Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:17Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:17Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:17Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:17Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:17Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:17Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:17Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:17Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:17Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:17Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:17Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:17Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:18Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:18Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:18Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:18Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:18Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:18Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:18Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:18Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:18Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:18Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:18Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:18Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:18Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:18Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:18Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:18Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:18Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:18Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:18Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:18Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:18Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:18Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:18Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:18Z" level=info msg="Attempting to resume artifact download from offset 3406" -time="2024-01-06T23:37:18Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:19Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:19Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:19Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:19Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:19Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:19Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:19Z" level=info msg="Attempting to resume artifact download from offset 3401" -time="2024-01-06T23:37:19Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:19Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:19Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:19Z" level=info msg="Attempting to resume artifact download from offset 3406" -time="2024-01-06T23:37:19Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:19Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:19Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:19Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:19Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:19Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:19Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:19Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:19Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:19Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:19Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:19Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:19Z" level=info msg="Attempting to resume artifact download from offset 3406" -time="2024-01-06T23:37:19Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:19Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:19Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:19Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:19Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:19Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:19Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:20Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:20Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:20Z" level=info msg="Attempting to resume artifact download from offset 5109" -time="2024-01-06T23:37:20Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:20Z" level=info msg="Resuming download in 2s" -time="2024-01-06T23:37:20Z" level=info msg="Download resume request failed: Get \"http://localhost:9768/update_resumer_test.go\": dial tcp 127.0.0.1:9768: connect: connection refused" -time="2024-01-06T23:37:20Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:20Z" level=info msg="Resuming download in 2s" -time="2024-01-06T23:37:20Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:20Z" level=info msg="Resuming download in 2s" -time="2024-01-06T23:37:20Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:20Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:20Z" level=info msg="Attempting to resume artifact download from offset 3406" -time="2024-01-06T23:37:20Z" level=info msg="Attempting to resume artifact download from offset 5099" -time="2024-01-06T23:37:20Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:20Z" level=info msg="Attempting to resume artifact download from offset 5109" -time="2024-01-06T23:37:20Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:20Z" level=info msg="Download resume request failed: Get \"http://localhost:9767/update_resumer_test.go\": dial tcp 127.0.0.1:9767: connect: connection refused" -time="2024-01-06T23:37:20Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:20Z" level=info msg="Resuming download in 2s" -time="2024-01-06T23:37:20Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:20Z" level=info msg="Resuming download in 2s" -time="2024-01-06T23:37:20Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:20Z" level=info msg="Resuming download in 2s" -time="2024-01-06T23:37:20Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:20Z" level=info msg="Resuming download in 2s" -time="2024-01-06T23:37:20Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:20Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:20Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:20Z" level=info msg="Attempting to resume artifact download from offset 5109" -time="2024-01-06T23:37:20Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:20Z" level=info msg="Resuming download in 2s" -time="2024-01-06T23:37:20Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:20Z" level=info msg="Resuming download in 2s" -time="2024-01-06T23:37:20Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:20Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:20Z" level=info msg="Resuming download in 2s" -time="2024-01-06T23:37:21Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:21Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:21Z" level=info msg="Resuming download in 2s" -time="2024-01-06T23:37:21Z" level=info msg="Attempting to resume artifact download from offset 5109" -time="2024-01-06T23:37:21Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:21Z" level=info msg="Resuming download in 2s" -time="2024-01-06T23:37:22Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:22Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:22Z" level=info msg="Resuming download in 2s" -time="2024-01-06T23:37:22Z" level=info msg="Attempting to resume artifact download from offset 5109" -time="2024-01-06T23:37:22Z" level=info msg="Download resume request failed: Get \"http://localhost:9768/update_resumer_test.go\": dial tcp 127.0.0.1:9768: connect: connection refused" -time="2024-01-06T23:37:22Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:22Z" level=info msg="Resuming download in 2s" -time="2024-01-06T23:37:22Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:22Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:22Z" level=info msg="Resuming download in 2s" -time="2024-01-06T23:37:22Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:22Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:22Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:22Z" level=info msg="Resuming download in 2s" -time="2024-01-06T23:37:22Z" level=info msg="Attempting to resume artifact download from offset 5109" -time="2024-01-06T23:37:22Z" level=info msg="Download resume request failed: Get \"http://localhost:9767/update_resumer_test.go\": dial tcp 127.0.0.1:9767: connect: connection refused" -time="2024-01-06T23:37:22Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:22Z" level=info msg="Resuming download in 2s" -time="2024-01-06T23:37:22Z" level=info msg="Attempting to resume artifact download from offset 6797" -time="2024-01-06T23:37:22Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:22Z" level=info msg="Resuming download in 2s" -time="2024-01-06T23:37:22Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:22Z" level=info msg="Resuming download in 2s" -time="2024-01-06T23:37:22Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:22Z" level=info msg="Attempting to resume artifact download from offset 6812" -time="2024-01-06T23:37:22Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:22Z" level=info msg="Resuming download in 2s" -time="2024-01-06T23:37:22Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:22Z" level=info msg="Resuming download in 2s" -time="2024-01-06T23:37:22Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:22Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:22Z" level=info msg="Resuming download in 2s" -time="2024-01-06T23:37:23Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:23Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:23Z" level=info msg="Resuming download in 2s" -time="2024-01-06T23:37:23Z" level=info msg="Attempting to resume artifact download from offset 6812" -time="2024-01-06T23:37:23Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:23Z" level=info msg="Resuming download in 2s" -time="2024-01-06T23:37:24Z" level=info msg="Attempting to resume artifact download from offset 5109" -time="2024-01-06T23:37:24Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:24Z" level=info msg="Download resume request failed: Get \"http://localhost:9768/update_resumer_test.go\": dial tcp 127.0.0.1:9768: connect: connection refused" -time="2024-01-06T23:37:24Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:24Z" level=info msg="Resuming download in 2s" -time="2024-01-06T23:37:24Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:24Z" level=info msg="Resuming download in 2s" -time="2024-01-06T23:37:24Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:24Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:24Z" level=info msg="Resuming download in 2s" -time="2024-01-06T23:37:24Z" level=info msg="Attempting to resume artifact download from offset 8495" -=== CONT TestBrokenReadAndPartialDownload/group/breakAfterShortRange -time="2024-01-06T23:37:24Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:24Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:24Z" level=info msg="Resuming download in 2s" -time="2024-01-06T23:37:24Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:24Z" level=info msg="Attempting to resume artifact download from offset 5109" -time="2024-01-06T23:37:24Z" level=info msg="Download resume request failed: Get \"http://localhost:9767/update_resumer_test.go\": dial tcp 127.0.0.1:9767: connect: connection refused" -time="2024-01-06T23:37:24Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:24Z" level=info msg="Resuming download in 2s" -time="2024-01-06T23:37:24Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:24Z" level=info msg="Resuming download in 2s" -time="2024-01-06T23:37:24Z" level=info msg="Attempting to resume artifact download from offset 8515" -time="2024-01-06T23:37:24Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:24Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:24Z" level=info msg="Resuming download in 2s" -time="2024-01-06T23:37:24Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:24Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:24Z" level=info msg="Resuming download in 2s" === CONT TestBrokenReadAndPartialDownload/group/missingContentRange -time="2024-01-06T23:37:25Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:25Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:25Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:25Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:25Z" level=info msg="Resuming download in 2s" -time="2024-01-06T23:37:25Z" level=info msg="Attempting to resume artifact download from offset 8515" === CONT TestBrokenReadAndPartialDownload/group/tooManyContentRanges -time="2024-01-06T23:37:25Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:25Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:25Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:25Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:26Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:26Z" level=info msg="Attempting to resume artifact download from offset 5109" -time="2024-01-06T23:37:26Z" level=info msg="Download resume request failed: Get \"http://localhost:9768/update_resumer_test.go\": dial tcp 127.0.0.1:9768: connect: connection refused" -time="2024-01-06T23:37:26Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:26Z" level=info msg="Resuming download in 3s" -time="2024-01-06T23:37:26Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:26Z" level=info msg="Resuming download in 3s" -time="2024-01-06T23:37:26Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:26Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:26Z" level=info msg="Resuming download in 3s" -time="2024-01-06T23:37:26Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:26Z" level=info msg="Attempting to resume artifact download from offset 5109" -time="2024-01-06T23:37:26Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:26Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:26Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:26Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:26Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:26Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:26Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:26Z" level=info msg="Resuming download in 3s" -time="2024-01-06T23:37:26Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:26Z" level=info msg="Resuming download in 3s" -time="2024-01-06T23:37:26Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:26Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:26Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:26Z" level=info msg="Resuming download in 3s" -time="2024-01-06T23:37:26Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:26Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:26Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:26Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:26Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:26Z" level=info msg="Resuming download in 3s" -time="2024-01-06T23:37:26Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:26Z" level=info msg="Resuming download in 3s" -time="2024-01-06T23:37:27Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:27Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:27Z" level=info msg="Resuming download in 3s" -time="2024-01-06T23:37:27Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:27Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:27Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:27Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:27Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:27Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:27Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:27Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:27Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:28Z" level=info msg="Attempting to resume artifact download from offset 3401" -time="2024-01-06T23:37:28Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:28Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:28Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:28Z" level=info msg="Resuming download in 2s" -time="2024-01-06T23:37:28Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:28Z" level=info msg="Resuming download in 2s" -time="2024-01-06T23:37:28Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:28Z" level=info msg="Resuming download in 2s" -time="2024-01-06T23:37:29Z" level=info msg="Attempting to resume artifact download from offset 5109" -time="2024-01-06T23:37:29Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:29Z" level=info msg="Download resume request failed: Get \"http://localhost:9768/update_resumer_test.go\": dial tcp 127.0.0.1:9768: connect: connection refused" -time="2024-01-06T23:37:29Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:29Z" level=info msg="Resuming download in 3s" -time="2024-01-06T23:37:29Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:29Z" level=info msg="Resuming download in 3s" -time="2024-01-06T23:37:29Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:29Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:29Z" level=info msg="Resuming download in 3s" -time="2024-01-06T23:37:29Z" level=info msg="Attempting to resume artifact download from offset 6812" -time="2024-01-06T23:37:30Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:30Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:30Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:30Z" level=info msg="Resuming download in 3s" -time="2024-01-06T23:37:30Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:30Z" level=info msg="Resuming download in 3s" -time="2024-01-06T23:37:30Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:30Z" level=info msg="Resuming download in 3s" -time="2024-01-06T23:37:30Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:30Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:30Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:30Z" level=info msg="Resuming download in 3s" -time="2024-01-06T23:37:30Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:30Z" level=info msg="Resuming download in 3s" -time="2024-01-06T23:37:30Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:30Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:30Z" level=info msg="Resuming download in 3s" -time="2024-01-06T23:37:30Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:30Z" level=info msg="Attempting to resume artifact download from offset 5099" -time="2024-01-06T23:37:30Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:30Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:30Z" level=info msg="Resuming download in 2s" -time="2024-01-06T23:37:30Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:30Z" level=info msg="Resuming download in 2s" -time="2024-01-06T23:37:30Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:30Z" level=info msg="Resuming download in 2s" -time="2024-01-06T23:37:32Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:32Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:32Z" level=info msg="Resuming download in 3s" -time="2024-01-06T23:37:32Z" level=info msg="Attempting to resume artifact download from offset 5109" -time="2024-01-06T23:37:32Z" level=info msg="Download resume request failed: Get \"http://localhost:9768/update_resumer_test.go\": dial tcp 127.0.0.1:9768: connect: connection refused" -time="2024-01-06T23:37:32Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:32Z" level=info msg="Resuming download in 3s" -time="2024-01-06T23:37:32Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:32Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:32Z" level=info msg="Resuming download in 3s" -time="2024-01-06T23:37:33Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:33Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:33Z" level=info msg="Attempting to resume artifact download from offset 6797" -time="2024-01-06T23:37:33Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:33Z" level=info msg="Resuming download in 2s" -time="2024-01-06T23:37:33Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:33Z" level=info msg="Resuming download in 2s" -time="2024-01-06T23:37:33Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:33Z" level=info msg="Resuming download in 2s" -time="2024-01-06T23:37:33Z" level=info msg="Attempting to resume artifact download from offset 8515" -time="2024-01-06T23:37:33Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:33Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:33Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:33Z" level=info msg="Resuming download in 3s" -time="2024-01-06T23:37:33Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:33Z" level=info msg="Attempting to resume artifact download from offset 1703" +=== CONT TestBrokenReadAndPartialDownload/group/formattedButInvalidContentRange === CONT TestBrokenReadAndPartialDownload/group/missingBytesContentRange -time="2024-01-06T23:37:33Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:33Z" level=info msg="Resuming download in 3s" -time="2024-01-06T23:37:33Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:33Z" level=info msg="Resuming download in 3s" -time="2024-01-06T23:37:33Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:33Z" level=info msg="Resuming download in 3s" -time="2024-01-06T23:37:33Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:33Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:33Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:33Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:33Z" level=info msg="Resuming download in 3s" -time="2024-01-06T23:37:34Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:34Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:34Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:35Z" level=info msg="Attempting to resume artifact download from offset 8495" -time="2024-01-06T23:37:35Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:35Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:35Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:35Z" level=info msg="Resuming download in 3s" -time="2024-01-06T23:37:35Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:35Z" level=info msg="Resuming download in 3s" -time="2024-01-06T23:37:35Z" level=info msg="Attempting to resume artifact download from offset 5109" -time="2024-01-06T23:37:35Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:35Z" level=info msg="Download resume request failed: Get \"http://localhost:9768/update_resumer_test.go\": dial tcp 127.0.0.1:9768: connect: connection refused" -time="2024-01-06T23:37:35Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:35Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:35Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:35Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:35Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:35Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:35Z" level=info msg="Resuming download in 1s" -time="2024-01-06T23:37:36Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:36Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:36Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:36Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:36Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:36Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:36Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:36Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:36Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:36Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:36Z" level=info msg="Resuming download in 2s" -time="2024-01-06T23:37:36Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:36Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:38Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:38Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:38Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:38Z" level=info msg="Resuming download in 3s" -time="2024-01-06T23:37:38Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:38Z" level=info msg="Resuming download in 3s" -time="2024-01-06T23:37:38Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:38Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:38Z" level=info msg="Resuming download in 2s" -time="2024-01-06T23:37:40Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:40Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:40Z" level=info msg="Resuming download in 2s" -time="2024-01-06T23:37:41Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:41Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:41Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:41Z" level=info msg="Resuming download in 3s" -time="2024-01-06T23:37:41Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:41Z" level=info msg="Resuming download in 3s" -time="2024-01-06T23:37:42Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:42Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:42Z" level=info msg="Resuming download in 3s" -time="2024-01-06T23:37:44Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:44Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:44Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:44Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:45Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:45Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:45Z" level=info msg="Resuming download in 3s" -time="2024-01-06T23:37:48Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:48Z" level=error msg="Download connection broken: unexpected EOF" -time="2024-01-06T23:37:48Z" level=info msg="Resuming download in 3s" -time="2024-01-06T23:37:51Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2024-01-06T23:37:52Z" level=error msg="Download connection broken: unexpected EOF" ---- PASS: TestBrokenReadAndPartialDownload (35.53s) +=== CONT TestBrokenReadAndPartialDownload/group/brokenContentLength +=== CONT TestBrokenReadAndPartialDownload/group/serverDownAndUp +=== CONT TestBrokenReadAndPartialDownload/group/breakAfterShortRange +=== CONT TestBrokenReadAndPartialDownload/group/noPartialContentSupport +=== CONT TestBrokenReadAndPartialDownload/group/lateRangeStart +time="2025-02-08T06:06:24Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:24Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:24Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:24Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:24Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:24Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:24Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:24Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:25Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:25Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:25Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:25Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:25Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:25Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:25Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:25Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:25Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:25Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:25Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:25Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:25Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:25Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:25Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:25Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:25Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:25Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:25Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:25Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:25Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:25Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:25Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:25Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:25Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:25Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:25Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:25Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:26Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:26Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:26Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:26Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:26Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:26Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:26Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:26Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:26Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:26Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:26Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:26Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:26Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:26Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:26Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:26Z" level=info msg="Attempting to resume artifact download from offset 3406" +time="2025-02-08T06:06:26Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:26Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:26Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:26Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:26Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:26Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:26Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:26Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:26Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:26Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:26Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:26Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:26Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:26Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:26Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:26Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:26Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:26Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:26Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:26Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:27Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:27Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:27Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:27Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:27Z" level=info msg="Attempting to resume artifact download from offset 3406" +time="2025-02-08T06:06:27Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:27Z" level=info msg="Attempting to resume artifact download from offset 3401" +time="2025-02-08T06:06:27Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:27Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:27Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:27Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:27Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2025-02-08T06:06:27Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:27Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:27Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:27Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:27Z" 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="2025-02-08T06:06:27Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:27Z" level=info msg="Resuming download in 2s" +time="2025-02-08T06:06:27Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:27Z" level=info msg="Resuming download in 2s" +time="2025-02-08T06:06:27Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:27Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:27Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:27Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:27Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:27Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:27Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:27Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:27Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:27Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:27Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:27Z" level=info msg="Resuming download in 2s" +time="2025-02-08T06:06:27Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:27Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:27Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:27Z" level=info msg="Resuming download in 2s" +time="2025-02-08T06:06:28Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:28Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:28Z" level=info msg="Resuming download in 2s" +time="2025-02-08T06:06:28Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2025-02-08T06:06:28Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:28Z" level=info msg="Resuming download in 2s" +time="2025-02-08T06:06:28Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:28Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:28Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:28Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:28Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:28Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:28Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:28Z" level=info msg="Resuming download in 2s" +time="2025-02-08T06:06:28Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:28Z" level=info msg="Resuming download in 2s" +time="2025-02-08T06:06:28Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:28Z" level=info msg="Resuming download in 2s" +time="2025-02-08T06:06:28Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:28Z" level=info msg="Resuming download in 2s" +time="2025-02-08T06:06:28Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:28Z" level=info msg="Resuming download in 2s" +time="2025-02-08T06:06:28Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:28Z" level=info msg="Resuming download in 2s" +time="2025-02-08T06:06:29Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2025-02-08T06:06:29Z" 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="2025-02-08T06:06:29Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:29Z" level=info msg="Resuming download in 2s" +time="2025-02-08T06:06:29Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:29Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:29Z" level=info msg="Attempting to resume artifact download from offset 5099" +time="2025-02-08T06:06:29Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:29Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:29Z" level=info msg="Resuming download in 2s" +time="2025-02-08T06:06:29Z" level=info msg="Resuming download in 2s" +time="2025-02-08T06:06:29Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:29Z" level=info msg="Resuming download in 2s" +time="2025-02-08T06:06:30Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:30Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:30Z" level=info msg="Resuming download in 2s" +time="2025-02-08T06:06:30Z" level=info msg="Attempting to resume artifact download from offset 6812" +time="2025-02-08T06:06:30Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:30Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:30Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:30Z" level=info msg="Resuming download in 2s" +time="2025-02-08T06:06:30Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:30Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:30Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:30Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:30Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:30Z" level=info msg="Resuming download in 2s" +time="2025-02-08T06:06:30Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:30Z" level=info msg="Resuming download in 2s" +time="2025-02-08T06:06:30Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:30Z" level=info msg="Resuming download in 2s" +time="2025-02-08T06:06:30Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:30Z" level=info msg="Resuming download in 2s" +time="2025-02-08T06:06:30Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:30Z" level=info msg="Resuming download in 2s" +time="2025-02-08T06:06:30Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:30Z" level=info msg="Resuming download in 2s" +time="2025-02-08T06:06:31Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2025-02-08T06:06:31Z" 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="2025-02-08T06:06:31Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:31Z" level=info msg="Resuming download in 2s" +time="2025-02-08T06:06:31Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:31Z" level=info msg="Attempting to resume artifact download from offset 6797" +time="2025-02-08T06:06:31Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:31Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:31Z" level=info msg="Resuming download in 2s" +time="2025-02-08T06:06:31Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:31Z" level=info msg="Resuming download in 2s" +time="2025-02-08T06:06:31Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:31Z" level=info msg="Resuming download in 2s" +time="2025-02-08T06:06:32Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:32Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:32Z" level=info msg="Resuming download in 2s" +time="2025-02-08T06:06:32Z" level=info msg="Attempting to resume artifact download from offset 8515" +time="2025-02-08T06:06:32Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:32Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:32Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:32Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:32Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:32Z" level=info msg="Attempting to resume artifact download from offset 1703" +=== CONT TestBrokenReadAndPartialDownload/group/emptyContentRange +time="2025-02-08T06:06:32Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:32Z" level=info msg="Resuming download in 2s" +time="2025-02-08T06:06:32Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:32Z" level=info msg="Resuming download in 2s" +time="2025-02-08T06:06:32Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:32Z" level=info msg="Resuming download in 2s" +time="2025-02-08T06:06:32Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:32Z" level=info msg="Resuming download in 2s" +time="2025-02-08T06:06:32Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:32Z" level=info msg="Resuming download in 2s" +time="2025-02-08T06:06:32Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:32Z" level=info msg="Resuming download in 2s" +time="2025-02-08T06:06:32Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:32Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:33Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2025-02-08T06:06:33Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:33Z" level=info msg="Resuming download in 3s" +time="2025-02-08T06:06:33Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:33Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:33Z" level=info msg="Attempting to resume artifact download from offset 8495" +time="2025-02-08T06:06:33Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:33Z" level=info msg="Resuming download in 3s" +time="2025-02-08T06:06:33Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:33Z" level=info msg="Resuming download in 3s" +=== CONT TestBrokenReadAndPartialDownload/group/missingContentLength +time="2025-02-08T06:06:33Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:33Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:33Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:33Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:33Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:34Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:34Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:34Z" level=info msg="Resuming download in 3s" +time="2025-02-08T06:06:34Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:34Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:34Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:34Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:34Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:34Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:34Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:34Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:34Z" level=info msg="Resuming download in 3s" +time="2025-02-08T06:06:34Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:34Z" level=info msg="Resuming download in 3s" +time="2025-02-08T06:06:34Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:34Z" level=info msg="Resuming download in 3s" +time="2025-02-08T06:06:34Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:34Z" level=info msg="Resuming download in 3s" +time="2025-02-08T06:06:34Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:34Z" level=info msg="Resuming download in 3s" +time="2025-02-08T06:06:34Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:34Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:34Z" level=info msg="Resuming download in 3s" +time="2025-02-08T06:06:34Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:34Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:34Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:34Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:35Z" level=info msg="Attempting to resume artifact download from offset 3406" +time="2025-02-08T06:06:35Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:35Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:35Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:35Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:35Z" level=info msg="Resuming download in 2s" +time="2025-02-08T06:06:36Z" level=info msg="Attempting to resume artifact download from offset 6812" +time="2025-02-08T06:06:36Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:36Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:36Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:36Z" level=info msg="Resuming download in 3s" +time="2025-02-08T06:06:36Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:36Z" level=info msg="Resuming download in 3s" +time="2025-02-08T06:06:36Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:36Z" level=info msg="Resuming download in 3s" +time="2025-02-08T06:06:36Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2025-02-08T06:06:36Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:36Z" level=info msg="Resuming download in 2s" +time="2025-02-08T06:06:37Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:37Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:37Z" level=info msg="Resuming download in 3s" +time="2025-02-08T06:06:37Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:37Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:37Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:37Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:37Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:37Z" level=info msg="Resuming download in 3s" +time="2025-02-08T06:06:37Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:37Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:37Z" level=info msg="Resuming download in 3s" +time="2025-02-08T06:06:37Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:37Z" level=info msg="Resuming download in 3s" +time="2025-02-08T06:06:37Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:37Z" level=info msg="Resuming download in 3s" +time="2025-02-08T06:06:37Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:37Z" level=info msg="Resuming download in 3s" +time="2025-02-08T06:06:37Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:37Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:37Z" level=info msg="Resuming download in 3s" +time="2025-02-08T06:06:37Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:37Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:37Z" level=info msg="Resuming download in 2s" +time="2025-02-08T06:06:38Z" level=info msg="Attempting to resume artifact download from offset 6812" +time="2025-02-08T06:06:38Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:38Z" level=info msg="Resuming download in 2s" +time="2025-02-08T06:06:39Z" level=info msg="Attempting to resume artifact download from offset 8515" +time="2025-02-08T06:06:39Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:39Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:39Z" level=error msg="Download connection broken: unexpected EOF" +=== CONT TestBrokenReadAndPartialDownload/group/earlyRangeStart +time="2025-02-08T06:06:39Z" level=info msg="Resuming download in 3s" +time="2025-02-08T06:06:39Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:39Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:39Z" level=info msg="Resuming download in 3s" +time="2025-02-08T06:06:39Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:39Z" level=info msg="Resuming download in 2s" +time="2025-02-08T06:06:39Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:39Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:40Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:40Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:40Z" level=info msg="Resuming download in 3s" +time="2025-02-08T06:06:40Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:40Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:40Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:40Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:40Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:40Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:40Z" level=info msg="Resuming download in 3s" +time="2025-02-08T06:06:40Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:40Z" level=info msg="Resuming download in 3s" +time="2025-02-08T06:06:40Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:40Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:40Z" level=info msg="Resuming download in 3s" +time="2025-02-08T06:06:40Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:40Z" level=info msg="Resuming download in 3s" +time="2025-02-08T06:06:40Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:40Z" level=info msg="Resuming download in 3s" +time="2025-02-08T06:06:40Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:40Z" level=info msg="Resuming download in 3s" +time="2025-02-08T06:06:40Z" level=info msg="Attempting to resume artifact download from offset 8515" +=== CONT TestBrokenReadAndPartialDownload/group/serverDown +time="2025-02-08T06:06:40Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:40Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:40Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:40Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:40Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:41Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:41Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:41Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:41Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:41Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:41Z" level=info msg="Resuming download in 3s" +time="2025-02-08T06:06:41Z" level=info msg="Attempting to resume artifact download from offset 3401" +time="2025-02-08T06:06:41Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:41Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:42Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:42Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:42Z" level=info msg="Attempting to resume artifact download from offset 3406" +time="2025-02-08T06:06:42Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:42Z" level=info msg="Resuming download in 1s" +time="2025-02-08T06:06:42Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:42Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:42Z" level=info msg="Attempting to resume artifact download from offset 5099" +time="2025-02-08T06:06:42Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:42Z" level=info msg="Resuming download in 2s" +time="2025-02-08T06:06:43Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:43Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:43Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:43Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:43Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:43Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:43Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:43Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:43Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:43Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:43Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:43Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:43Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:43Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:43Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2025-02-08T06:06:43Z" 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="2025-02-08T06:06:43Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:43Z" level=info msg="Resuming download in 2s" +time="2025-02-08T06:06:44Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:44Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:44Z" level=info msg="Resuming download in 3s" +time="2025-02-08T06:06:44Z" level=info msg="Attempting to resume artifact download from offset 6797" +time="2025-02-08T06:06:44Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:44Z" level=info msg="Resuming download in 2s" +time="2025-02-08T06:06:45Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2025-02-08T06:06:45Z" 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="2025-02-08T06:06:45Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:45Z" level=info msg="Resuming download in 2s" +time="2025-02-08T06:06:46Z" level=info msg="Attempting to resume artifact download from offset 8495" +time="2025-02-08T06:06:47Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2025-02-08T06:06:47Z" level=info msg="Download resume request failed: Get \"http://localhost:9768/update_resumer_test.go\": dial tcp 127.0.0.1:9768: connect: connection refused" +time="2025-02-08T06:06:47Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:47Z" level=info msg="Resuming download in 2s" +time="2025-02-08T06:06:47Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:47Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:47Z" level=info msg="Resuming download in 3s" +time="2025-02-08T06:06:49Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2025-02-08T06:06:49Z" 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="2025-02-08T06:06:49Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:49Z" level=info msg="Resuming download in 3s" +time="2025-02-08T06:06:50Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2025-02-08T06:06:50Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:52Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2025-02-08T06:06:52Z" 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="2025-02-08T06:06:52Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:52Z" level=info msg="Resuming download in 3s" +time="2025-02-08T06:06:55Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2025-02-08T06:06:55Z" 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="2025-02-08T06:06:55Z" level=error msg="Download connection broken: unexpected EOF" +time="2025-02-08T06:06:55Z" level=info msg="Resuming download in 3s" +time="2025-02-08T06:06:58Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2025-02-08T06:06: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="2025-02-08T06:06:58Z" level=error msg="Download connection broken: unexpected EOF" +--- PASS: TestBrokenReadAndPartialDownload (34.05s) --- PASS: TestBrokenReadAndPartialDownload/group (0.00s) - --- PASS: TestBrokenReadAndPartialDownload/group/earlyRangeStart (7.36s) - --- PASS: TestBrokenReadAndPartialDownload/group/success (8.15s) - --- PASS: TestBrokenReadAndPartialDownload/group/missingContentLength (8.64s) - --- PASS: TestBrokenReadAndPartialDownload/group/serverDownAndUp (16.11s) - --- PASS: TestBrokenReadAndPartialDownload/group/breakAfterShortRange (10.75s) - --- PASS: TestBrokenReadAndPartialDownload/group/serverDown (18.18s) - --- PASS: TestBrokenReadAndPartialDownload/group/formattedButInvalidContentRange (18.44s) - --- PASS: TestBrokenReadAndPartialDownload/group/emptyContentRange (18.48s) - --- PASS: TestBrokenReadAndPartialDownload/group/improperlyFormattedContentRange (19.37s) - --- PASS: TestBrokenReadAndPartialDownload/group/brokenContentLength (19.49s) - --- PASS: TestBrokenReadAndPartialDownload/group/garbledContentStart (19.49s) - --- PASS: TestBrokenReadAndPartialDownload/group/lateRangeStart (19.49s) - --- PASS: TestBrokenReadAndPartialDownload/group/noPartialContentSupport (19.81s) - --- PASS: TestBrokenReadAndPartialDownload/group/tooManyContentRanges (18.50s) - --- PASS: TestBrokenReadAndPartialDownload/group/missingContentRange (19.25s) - --- PASS: TestBrokenReadAndPartialDownload/group/missingBytesContentRange (19.03s) + --- PASS: TestBrokenReadAndPartialDownload/group/success (8.03s) + --- PASS: TestBrokenReadAndPartialDownload/group/breakAfterShortRange (9.03s) + --- PASS: TestBrokenReadAndPartialDownload/group/serverDownAndUp (15.03s) + --- PASS: TestBrokenReadAndPartialDownload/group/missingContentLength (7.01s) + --- PASS: TestBrokenReadAndPartialDownload/group/lateRangeStart (18.03s) + --- PASS: TestBrokenReadAndPartialDownload/group/missingBytesContentRange (18.06s) + --- PASS: TestBrokenReadAndPartialDownload/group/missingContentRange (19.01s) + --- PASS: TestBrokenReadAndPartialDownload/group/noPartialContentSupport (19.04s) + --- PASS: TestBrokenReadAndPartialDownload/group/tooManyContentRanges (19.04s) + --- PASS: TestBrokenReadAndPartialDownload/group/improperlyFormattedContentRange (19.04s) + --- PASS: TestBrokenReadAndPartialDownload/group/formattedButInvalidContentRange (19.04s) + --- PASS: TestBrokenReadAndPartialDownload/group/garbledContentStart (19.04s) + --- PASS: TestBrokenReadAndPartialDownload/group/brokenContentLength (19.04s) + --- PASS: TestBrokenReadAndPartialDownload/group/earlyRangeStart (7.03s) + --- PASS: TestBrokenReadAndPartialDownload/group/emptyContentRange (18.03s) + --- PASS: TestBrokenReadAndPartialDownload/group/serverDown (18.01s) PASS -ok github.com/mendersoftware/mender/client 82.596s +ok github.com/mendersoftware/mender/client 65.794s ? github.com/mendersoftware/mender/client/test [no test files] === RUN Test_readConfigFile_noFile_returnsError --- PASS: Test_readConfigFile_noFile_returnsError (0.00s) === RUN Test_readConfigFile_brokenContent_returnsError -time="2024-01-06T23:36:30Z" level=error msg="Error loading configuration from file: mender.config (Error parsing mender configuration file: invalid character '\\n' in string literal)" +time="2025-02-08T06:05:52Z" level=error msg="Error loading configuration from file: mender.config (Error parsing mender configuration file: invalid character '\\n' in string literal)" --- PASS: Test_readConfigFile_brokenContent_returnsError (0.00s) === RUN Test_LoadConfig_correctConfFile_returnsConfiguration -time="2024-01-06T23:36:30Z" level=info msg="Loaded configuration file: mender.config" -time="2024-01-06T23:36:30Z" level=info msg="Loaded configuration file: mender.config" +time="2025-02-08T06:05:52Z" level=info msg="Loaded configuration file: mender.config" +time="2025-02-08T06:05:52Z" level=info msg="Loaded configuration file: mender.config" --- PASS: Test_LoadConfig_correctConfFile_returnsConfiguration (0.00s) === RUN TestServerURLConfig -time="2024-01-06T23:36:30Z" level=info msg="Loaded configuration file: mender.config" -time="2024-01-06T23:36:30Z" level=info msg="Loaded configuration file: mender.config" -time="2024-01-06T23:36:30Z" level=error msg="In mender.conf: don't specify both Servers field AND the corresponding fields in base structure (i.e. ServerURL). The first server on the list overwritesthese fields." +time="2025-02-08T06:05:52Z" level=info msg="Loaded configuration file: mender.config" +time="2025-02-08T06:05:52Z" level=info msg="Loaded configuration file: mender.config" +time="2025-02-08T06:05:52Z" level=error msg="In mender.conf: don't specify both Servers field AND the corresponding fields in base structure (i.e. ServerURL). The first server on the list overwritesthese fields." --- PASS: TestServerURLConfig (0.00s) === RUN TestMultipleServersConfig -time="2024-01-06T23:36:30Z" level=info msg="Loaded configuration file: /tmp/mendertest225413416/mender.conf" +time="2025-02-08T06:05:52Z" level=info msg="Loaded configuration file: /tmp/mendertest222617856/mender.conf" --- PASS: TestMultipleServersConfig (0.00s) === RUN TestConfigurationMergeSettings -time="2024-01-06T23:36:30Z" level=info msg="Loaded configuration file: fallback.config" -time="2024-01-06T23:36:30Z" level=info msg="Loaded configuration file: main.config" +time="2025-02-08T06:05:52Z" level=info msg="Loaded configuration file: fallback.config" +time="2025-02-08T06:05:52Z" level=info msg="Loaded configuration file: main.config" --- PASS: TestConfigurationMergeSettings (0.00s) === RUN TestConfigurationNeitherFileExistsIsNotError -time="2024-01-06T23:36:30Z" level=info msg="No configuration files present. Using defaults" +time="2025-02-08T06:05:52Z" level=info msg="No configuration files present. Using defaults" --- PASS: TestConfigurationNeitherFileExistsIsNotError (0.00s) === RUN TestVersionUnknown --- PASS: TestVersionUnknown (0.00s) === RUN TestVersionVersion --- PASS: TestVersionVersion (0.00s) PASS -ok github.com/mendersoftware/mender/conf 0.080s +ok github.com/mendersoftware/mender/conf 0.013s === RUN TestMenderState --- PASS: TestMenderState (0.00s) PASS -ok github.com/mendersoftware/mender/datastore 0.065s +ok github.com/mendersoftware/mender/datastore 0.013s === RUN TestDeviceIdentityGet identity_data_test.go:93: test case: 0 identity_data_test.go:93: test case: 1 identity_data_test.go:93: test case: 2 identity_data_test.go:93: test case: 3 identity_data_test.go:93: test case: 4 ---- PASS: TestDeviceIdentityGet (0.15s) +--- PASS: TestDeviceIdentityGet (0.02s) PASS -ok github.com/mendersoftware/mender/device 0.189s +ok github.com/mendersoftware/mender/device 0.031s === RUN TestBlockDeviceFail --- PASS: TestBlockDeviceFail (0.00s) === RUN TestBlockDeviceWrite -time="2024-01-06T23:36:29Z" level=info msg="Opening device \"/tmp/mender-block-device-244936577/foo\" for writing" - block_device_test.go:46: block device size called: &{0x400002a840} - block_device_test.go:56: block device sector-size called: &{0x400002a8a0} -time="2024-01-06T23:36:29Z" level=info msg="Native sector size of block device /tmp/mender-block-device-244936577/foo is 5 bytes. Mender will write in chunks of 1310720 bytes" -time="2024-01-06T23:36:29Z" level=error msg="Failed to write 4 bytes to the new partition" -time="2024-01-06T23:36:29Z" level=info msg="The optimized block-device writer wrote a total of 1 frames, where 1 frames did need to be rewritten (i.e., skipped)" +time="2025-02-08T06:05:52Z" level=info msg="Opening device \"/tmp/mender-block-device-751886071/foo\" for writing" + block_device_test.go:46: block device size called: &{0x4000092360} + block_device_test.go:56: block device sector-size called: &{0x40000923c0} +time="2025-02-08T06:05:52Z" level=info msg="Native sector size of block device /tmp/mender-block-device-751886071/foo is 5 bytes. Mender will write in chunks of 1310720 bytes" +time="2025-02-08T06:05:52Z" level=error msg="Failed to write 4 bytes to the new partition" +time="2025-02-08T06:05:52Z" level=info msg="The optimized block-device writer wrote a total of 1 frames, where 1 frames did need to be rewritten (i.e., skipped)" --- PASS: TestBlockDeviceWrite (0.00s) === RUN TestBlockDeviceSize - block_device_test.go:46: block device size called: &{0x400002aae0} - block_device_test.go:46: block device size called: &{0x400002ab40} + block_device_test.go:46: block device size called: &{0x4000092600} + block_device_test.go:46: block device size called: &{0x4000092660} --- PASS: TestBlockDeviceSize (0.00s) === RUN TestBlockFrameWriter --- PASS: TestBlockFrameWriter (0.00s) @@ -16289,117 +16322,117 @@ === RUN TestFlushingWriter --- PASS: TestFlushingWriter (0.00s) === RUN Test_EnvWrite_OSResponseOK_WritesOK -time="2024-01-06T23:36:29Z" level=info msg="Probing the Bootloader environment for which separator to use" -time="2024-01-06T23:36:29Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " -time="2024-01-06T23:36:29Z" level=info msg="Writing map[bootcnt:3] to the U-Boot environment, using separator: =" ---- PASS: Test_EnvWrite_OSResponseOK_WritesOK (0.11s) +time="2025-02-08T06:05:52Z" level=info msg="Probing the Bootloader environment for which separator to use" +time="2025-02-08T06:05:52Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " +time="2025-02-08T06:05:52Z" level=info msg="Writing map[bootcnt:3] to the U-Boot environment, using separator: =" +--- PASS: Test_EnvWrite_OSResponseOK_WritesOK (0.02s) === RUN Test_EnvWrite_OSResponseError_Fails -time="2024-01-06T23:36:29Z" level=info msg="Probing the Bootloader environment for which separator to use" -time="2024-01-06T23:36:29Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " -time="2024-01-06T23:36:29Z" level=error msg="Failed to probe the U-Boot environment for which separator to use. Got error: requires root privileges: exit status 1" -time="2024-01-06T23:36:29Z" level=error msg="U-Boot variable malformed or error occurred" -time="2024-01-06T23:36:29Z" level=info msg="Probing the Bootloader environment for which separator to use" -time="2024-01-06T23:36:29Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " -time="2024-01-06T23:36:29Z" level=error msg="Failed to probe the U-Boot environment for which separator to use. Got error: requires root privileges: exit status 1" ---- PASS: Test_EnvWrite_OSResponseError_Fails (0.09s) +time="2025-02-08T06:05:52Z" level=info msg="Probing the Bootloader environment for which separator to use" +time="2025-02-08T06:05:52Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " +time="2025-02-08T06:05:52Z" level=error msg="Failed to probe the U-Boot environment for which separator to use. Got error: requires root privileges: exit status 1" +time="2025-02-08T06:05:52Z" level=error msg="U-Boot variable malformed or error occurred" +time="2025-02-08T06:05:52Z" level=info msg="Probing the Bootloader environment for which separator to use" +time="2025-02-08T06:05:52Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " +time="2025-02-08T06:05:52Z" 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.02s) === RUN Test_EnvRead_HaveVariable_ReadsVariable ---- PASS: Test_EnvRead_HaveVariable_ReadsVariable (0.16s) +--- PASS: Test_EnvRead_HaveVariable_ReadsVariable (0.03s) === RUN Test_EnvRead_HaveEnvWarning_FailsReading -time="2024-01-06T23:36:29Z" level=error msg="U-Boot variable malformed or error occurred" -time="2024-01-06T23:36:29Z" level=error msg="U-Boot variable malformed or error occurred" ---- PASS: Test_EnvRead_HaveEnvWarning_FailsReading (0.07s) +time="2025-02-08T06:05:52Z" level=error msg="U-Boot variable malformed or error occurred" +time="2025-02-08T06:05:52Z" level=error msg="U-Boot variable malformed or error occurred" +--- PASS: Test_EnvRead_HaveEnvWarning_FailsReading (0.01s) === RUN Test_EnvRead_NonExisting_FailsReading -time="2024-01-06T23:36:29Z" level=error msg="U-Boot variable malformed or error occurred" -time="2024-01-06T23:36:29Z" level=error msg="U-Boot variable malformed or error occurred" ---- PASS: Test_EnvRead_NonExisting_FailsReading (0.03s) +time="2025-02-08T06:05:52Z" level=error msg="U-Boot variable malformed or error occurred" +time="2025-02-08T06:05:52Z" level=error msg="U-Boot variable malformed or error occurred" +--- PASS: Test_EnvRead_NonExisting_FailsReading (0.01s) === RUN Test_EnvCanary ---- PASS: Test_EnvCanary (0.25s) +--- PASS: Test_EnvCanary (0.06s) === RUN Test_PermissionDenied -time="2024-01-06T23:36:30Z" level=info msg="Probing the Bootloader environment for which separator to use" -time="2024-01-06T23:36:30Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " -time="2024-01-06T23:36:30Z" level=error msg="Could not execute fw_setenv: exec: \"fw_setenv\": executable file not found in $PATH" -time="2024-01-06T23:36:30Z" level=error msg="Failed to probe the U-Boot environment for which separator to use. Got error: requires root privileges: exec: \"fw_setenv\": executable file not found in $PATH" +time="2025-02-08T06:05:52Z" level=info msg="Probing the Bootloader environment for which separator to use" +time="2025-02-08T06:05:52Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " +time="2025-02-08T06:05:52Z" level=error msg="Could not execute fw_setenv: exec: \"fw_setenv\": executable file not found in $PATH" +time="2025-02-08T06:05:52Z" level=error msg="Failed to probe the U-Boot environment for which separator to use. Got error: requires root privileges: exec: \"fw_setenv\": executable file not found in $PATH" --- PASS: Test_PermissionDenied (0.00s) === RUN Test_ProbeSeparator -time="2024-01-06T23:36:30Z" level=info msg="Probing the Bootloader environment for which separator to use" -time="2024-01-06T23:36:30Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " -time="2024-01-06T23:36:30Z" level=info msg="Probing the Bootloader environment for which separator to use" -time="2024-01-06T23:36:30Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " -time="2024-01-06T23:36:30Z" level=info msg="Writing map[mender_uboot_separator:] to the U-Boot environment, using separator: " ---- PASS: Test_ProbeSeparator (0.23s) +time="2025-02-08T06:05:52Z" level=info msg="Probing the Bootloader environment for which separator to use" +time="2025-02-08T06:05:52Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " +time="2025-02-08T06:05:52Z" level=info msg="Probing the Bootloader environment for which separator to use" +time="2025-02-08T06:05:52Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " +time="2025-02-08T06:05:52Z" level=info msg="Writing map[mender_uboot_separator:] to the U-Boot environment, using separator: " +--- PASS: Test_ProbeSeparator (0.04s) === RUN Test_commitUpdate -time="2024-01-06T23:36:30Z" level=info msg="Committing update" +time="2025-02-08T06:05:52Z" level=info msg="Committing update" --- PASS: Test_commitUpdate (0.00s) === RUN Test_enableUpdatedPartition_wrongPartitinNumber_fails --- PASS: Test_enableUpdatedPartition_wrongPartitinNumber_fails (0.00s) === RUN Test_enableUpdatedPartition_correctPartitinNumber -time="2024-01-06T23:36:30Z" level=info msg="Enabling partition with new image installed to be a boot candidate: 2" -time="2024-01-06T23:36:30Z" level=info msg="Probing the Bootloader environment for which separator to use" -time="2024-01-06T23:36:30Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " -time="2024-01-06T23:36:30Z" level=info msg="Writing map[bootcount:0 mender_boot_part:2 mender_boot_part_hex:2 upgrade_available:1] to the U-Boot environment, using separator: =" -time="2024-01-06T23:36:30Z" level=info msg="Enabling partition with new image installed to be a boot candidate: 2" -time="2024-01-06T23:36:30Z" level=info msg="Probing the Bootloader environment for which separator to use" -time="2024-01-06T23:36:30Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " -time="2024-01-06T23:36:30Z" level=error msg="Failed to probe the U-Boot environment for which separator to use. Got error: requires root privileges: exit status 1" ---- PASS: Test_enableUpdatedPartition_correctPartitinNumber (0.19s) +time="2025-02-08T06:05:52Z" level=info msg="Enabling partition with new image installed to be a boot candidate: 2" +time="2025-02-08T06:05:52Z" level=info msg="Probing the Bootloader environment for which separator to use" +time="2025-02-08T06:05:52Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " +time="2025-02-08T06:05:52Z" 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="2025-02-08T06:05:52Z" level=info msg="Enabling partition with new image installed to be a boot candidate: 2" +time="2025-02-08T06:05:52Z" level=info msg="Probing the Bootloader environment for which separator to use" +time="2025-02-08T06:05:52Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " +time="2025-02-08T06:05:52Z" 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.03s) === RUN Test_installUpdate_existingAndNonInactivePartition -time="2024-01-06T23:36:30Z" level=info msg="Opening device \"/non/existing\" for writing" -time="2024-01-06T23:36:30Z" level=error msg="Failed to read size of block device /non/existing: open /non/existing: no such file or directory" -time="2024-01-06T23:36:30Z" level=info msg="Opening device \"inactivePart\" for writing" -time="2024-01-06T23:36:30Z" level=info msg="Native sector size of block device inactivePart is 12 bytes. Mender will write in chunks of 1572864 bytes" -time="2024-01-06T23:36:30Z" level=info msg="All bytes were successfully written to the new partition" -time="2024-01-06T23:36:30Z" level=error msg="Failed to read a full frame of size: &{%!d(string=EOF)} from the block-device" -time="2024-01-06T23:36:30Z" level=info msg="The optimized block-device writer wrote a total of 0 frames, where 0 frames did need to be rewritten (i.e., skipped)" -time="2024-01-06T23:36:30Z" level=info msg="Wrote 12/12 bytes to the inactive partition" -time="2024-01-06T23:36:30Z" level=info msg="Opening device \"inactivePart\" for writing" -time="2024-01-06T23:36:30Z" level=error msg="Failed to read size of block device inactivePart: " +time="2025-02-08T06:05:52Z" level=info msg="Opening device \"/non/existing\" for writing" +time="2025-02-08T06:05:52Z" level=error msg="Failed to read size of block device /non/existing: open /non/existing: no such file or directory" +time="2025-02-08T06:05:52Z" level=info msg="Opening device \"inactivePart\" for writing" +time="2025-02-08T06:05:52Z" level=info msg="Native sector size of block device inactivePart is 12 bytes. Mender will write in chunks of 1572864 bytes" +time="2025-02-08T06:05:52Z" level=info msg="All bytes were successfully written to the new partition" +time="2025-02-08T06:05:52Z" level=error msg="Failed to read a full frame of size: &{%!d(string=EOF)} from the block-device" +time="2025-02-08T06:05:52Z" 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="2025-02-08T06:05:52Z" level=info msg="Wrote 12/12 bytes to the inactive partition" +time="2025-02-08T06:05:52Z" level=info msg="Opening device \"inactivePart\" for writing" +time="2025-02-08T06:05:52Z" level=error msg="Failed to read size of block device inactivePart: " --- PASS: Test_installUpdate_existingAndNonInactivePartition (0.00s) === RUN Test_FetchUpdate_existingAndNonExistingUpdateFile --- PASS: Test_FetchUpdate_existingAndNonExistingUpdateFile (0.00s) === RUN Test_Rollback_OK -time="2024-01-06T23:36:30Z" level=info msg="No update available, so no rollback needed." -time="2024-01-06T23:36:30Z" level=info msg="Rolling back to the active partition: (1)." -time="2024-01-06T23:36:30Z" level=info msg="Probing the Bootloader environment for which separator to use" -time="2024-01-06T23:36:30Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " -time="2024-01-06T23:36:30Z" level=info msg="Writing map[mender_boot_part:1 mender_boot_part_hex:1 upgrade_available:0] to the U-Boot environment, using separator: =" - dual_rootfs_device_test.go:200: Log entry: &{0x40000a8000 map[] 2024-01-06 23:36:30.758495099 +0000 UTC m=+1.338548877 info Rolling back to the active partition: (1). } -time="2024-01-06T23:36:31Z" level=info msg="Rolling back to the inactive partition (2)." -time="2024-01-06T23:36:31Z" level=info msg="Probing the Bootloader environment for which separator to use" -time="2024-01-06T23:36:31Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " -time="2024-01-06T23:36:31Z" level=info msg="Writing map[mender_boot_part:2 mender_boot_part_hex:2 upgrade_available:0] to the U-Boot environment, using separator: =" - dual_rootfs_device_test.go:200: Log entry: &{0x40000a8000 map[] 2024-01-06 23:36:31.00679377 +0000 UTC m=+1.586847548 info Rolling back to the inactive partition (2). } ---- PASS: Test_Rollback_OK (0.54s) +time="2025-02-08T06:05:52Z" level=info msg="No update available, so no rollback needed." +time="2025-02-08T06:05:53Z" level=info msg="Rolling back to the active partition: (1)." +time="2025-02-08T06:05:53Z" level=info msg="Probing the Bootloader environment for which separator to use" +time="2025-02-08T06:05:53Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " +time="2025-02-08T06:05:53Z" 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: &{0x4000128000 map[] 2025-02-08 06:05:53.021139284 +0000 UTC m=+0.259531001 info Rolling back to the active partition: (1). } +time="2025-02-08T06:05:53Z" level=info msg="Rolling back to the inactive partition (2)." +time="2025-02-08T06:05:53Z" level=info msg="Probing the Bootloader environment for which separator to use" +time="2025-02-08T06:05:53Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " +time="2025-02-08T06:05:53Z" 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: &{0x4000128000 map[] 2025-02-08 06:05:53.063022404 +0000 UTC m=+0.301414121 info Rolling back to the inactive partition (2). } +--- PASS: Test_Rollback_OK (0.10s) === RUN TestDeviceVerifyReboot -time="2024-01-06T23:36:31Z" level=warning msg="Could not resolve path link: part1 Attempting to continue" -time="2024-01-06T23:36:31Z" level=warning msg="Could not resolve path link: part2 Attempting to continue" -time="2024-01-06T23:36:31Z" level=warning msg="Could not resolve path link: part1 Attempting to continue" -time="2024-01-06T23:36:31Z" level=warning msg="Could not resolve path link: part2 Attempting to continue" -time="2024-01-06T23:36:31Z" level=warning msg="Could not resolve path link: part1 Attempting to continue" -time="2024-01-06T23:36:31Z" level=warning msg="Could not resolve path link: part2 Attempting to continue" ---- PASS: TestDeviceVerifyReboot (0.14s) +time="2025-02-08T06:05:53Z" level=warning msg="Could not resolve path link: part1 Attempting to continue" +time="2025-02-08T06:05:53Z" level=warning msg="Could not resolve path link: part2 Attempting to continue" +time="2025-02-08T06:05:53Z" level=warning msg="Could not resolve path link: part1 Attempting to continue" +time="2025-02-08T06:05:53Z" level=warning msg="Could not resolve path link: part2 Attempting to continue" +time="2025-02-08T06:05:53Z" level=warning msg="Could not resolve path link: part1 Attempting to continue" +time="2025-02-08T06:05:53Z" level=warning msg="Could not resolve path link: part2 Attempting to continue" +--- PASS: TestDeviceVerifyReboot (0.03s) === RUN TestInstall -time="2024-01-06T23:36:31Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:36:31Z" level=info msg="No public key was provided for authenticating the artifact" ---- PASS: TestInstall (0.05s) +time="2025-02-08T06:05:53Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:05:53Z" level=info msg="No public key was provided for authenticating the artifact" +--- PASS: TestInstall (0.01s) === RUN TestInstallSigned -time="2024-01-06T23:36:31Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-06T23:36:31Z" level=warning msg="Installer: Installing signed artifact without verification as verification key is missing" -time="2024-01-06T23:36:31Z" level=info msg="Installer: authenticated digital signature of artifact" -time="2024-01-06T23:36:31Z" level=info msg="Installer: authenticated digital signature of artifact" +time="2025-02-08T06:05:53Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:05:53Z" level=warning msg="Installer: Installing signed artifact without verification as verification key is missing" +time="2025-02-08T06:05:53Z" level=info msg="Installer: authenticated digital signature of artifact" +time="2025-02-08T06:05:53Z" level=info msg="Installer: authenticated digital signature of artifact" --- PASS: TestInstallSigned (0.03s) === RUN TestInstallNoSignature ---- PASS: TestInstallNoSignature (0.01s) +--- PASS: TestInstallNoSignature (0.00s) === RUN TestInstallWithScripts -time="2024-01-06T23:36:31Z" level=info msg="No public key was provided for authenticating the artifact" ---- PASS: TestInstallWithScripts (0.00s) +time="2025-02-08T06:05:53Z" level=info msg="No public key was provided for authenticating the artifact" +--- PASS: TestInstallWithScripts (0.01s) === RUN TestCorrectUpdateProducerReturned -time="2024-01-06T23:36:31Z" level=info msg="No public key was provided for authenticating the artifact" +time="2025-02-08T06:05:53Z" level=info msg="No public key was provided for authenticating the artifact" --- PASS: TestCorrectUpdateProducerReturned (0.01s) === RUN TestMultiplePayloadsRejected -time="2024-01-06T23:36:31Z" level=info msg="No public key was provided for authenticating the artifact" ---- PASS: TestMultiplePayloadsRejected (0.01s) +time="2025-02-08T06:05:53Z" level=info msg="No public key was provided for authenticating the artifact" +--- PASS: TestMultiplePayloadsRejected (0.00s) === RUN TestStreamsTree ---- PASS: TestStreamsTree (0.01s) +--- PASS: TestStreamsTree (0.00s) === RUN TestModulesDownload === RUN TestModulesDownload/Mender_download === RUN TestModulesDownload/Module_download @@ -16415,87 +16448,87 @@ === RUN TestModulesDownload/Module_download_doesn't_read_final_zero_entry === RUN TestModulesDownload/Module_download_fails_final_exit === RUN TestModulesDownload/Module_download_hangs -time="2024-01-06T23:36:40Z" level=error msg="Process 3293228 timed out. Sending SIGTERM" +time="2025-02-08T06:06:01Z" level=error msg="Process 1743102 timed out. Sending SIGTERM" === RUN TestModulesDownload/Module_download_never_exits -time="2024-01-06T23:36:45Z" level=error msg="Process 3293664 timed out. Sending SIGTERM" ---- PASS: TestModulesDownload (14.16s) - --- PASS: TestModulesDownload/Mender_download (1.09s) - --- PASS: TestModulesDownload/Module_download (0.06s) - --- PASS: TestModulesDownload/Module_download_failure (0.06s) - --- PASS: TestModulesDownload/Module_download_short_read_of_stream-next (0.03s) +time="2025-02-08T06:06:06Z" level=error msg="Process 1743229 timed out. Sending SIGTERM" +--- PASS: TestModulesDownload (13.12s) + --- PASS: TestModulesDownload/Mender_download (1.01s) + --- PASS: TestModulesDownload/Module_download (0.01s) + --- PASS: TestModulesDownload/Module_download_failure (0.01s) + --- PASS: TestModulesDownload/Module_download_short_read_of_stream-next (0.01s) --- PASS: TestModulesDownload/Module_download_short_read_of_stream (0.01s) - --- PASS: TestModulesDownload/Cannot_open_stream_file (0.14s) - --- PASS: TestModulesDownload/files_dir_blocked_by_file (1.06s) - --- PASS: TestModulesDownload/Mender_download_multiple_files (1.05s) - --- PASS: TestModulesDownload/Module_download_multiple_files (0.16s) - --- PASS: TestModulesDownload/Module_download_multiple_files,_downloads_only_one (0.08s) - --- PASS: TestModulesDownload/Module_downloads_two_entries,_but_one_file (0.14s) - --- PASS: TestModulesDownload/Module_download_doesn't_read_final_zero_entry (0.12s) - --- PASS: TestModulesDownload/Module_download_fails_final_exit (0.11s) - --- PASS: TestModulesDownload/Module_download_hangs (5.02s) - --- PASS: TestModulesDownload/Module_download_never_exits (5.02s) + --- PASS: TestModulesDownload/Cannot_open_stream_file (0.01s) + --- PASS: TestModulesDownload/files_dir_blocked_by_file (1.01s) + --- PASS: TestModulesDownload/Mender_download_multiple_files (1.01s) + --- PASS: TestModulesDownload/Module_download_multiple_files (0.02s) + --- PASS: TestModulesDownload/Module_download_multiple_files,_downloads_only_one (0.01s) + --- PASS: TestModulesDownload/Module_downloads_two_entries,_but_one_file (0.01s) + --- PASS: TestModulesDownload/Module_download_doesn't_read_final_zero_entry (0.01s) + --- PASS: TestModulesDownload/Module_download_fails_final_exit (0.01s) + --- PASS: TestModulesDownload/Module_download_hangs (5.00s) + --- PASS: TestModulesDownload/Module_download_never_exits (5.00s) === RUN Test_GetInactive_HaveActivePartitionSet_ReturnsInactive -time="2024-01-06T23:36:45Z" level=warning msg="Could not resolve path link: /dev/mmc2 Attempting to continue" -time="2024-01-06T23:36:45Z" level=warning msg="Could not resolve path link: /dev/mmc3 Attempting to continue" -time="2024-01-06T23:36:45Z" level=warning msg="Could not resolve path link: /dev/mmc3 Attempting to continue" -time="2024-01-06T23:36:45Z" level=warning msg="Could not resolve path link: /dev/mmc Attempting to continue" -time="2024-01-06T23:36:45Z" level=warning msg="Could not resolve path link: /dev/mmc Attempting to continue" -time="2024-01-06T23:36:45Z" level=warning msg="Could not resolve path link: /dev/mmc4 Attempting to continue" -time="2024-01-06T23:36:45Z" level=warning msg="Could not resolve path link: /dev/mmc4 Attempting to continue" +time="2025-02-08T06:06:06Z" level=warning msg="Could not resolve path link: /dev/mmc2 Attempting to continue" +time="2025-02-08T06:06:06Z" level=warning msg="Could not resolve path link: /dev/mmc3 Attempting to continue" +time="2025-02-08T06:06:06Z" level=warning msg="Could not resolve path link: /dev/mmc3 Attempting to continue" +time="2025-02-08T06:06:06Z" level=warning msg="Could not resolve path link: /dev/mmc Attempting to continue" +time="2025-02-08T06:06:06Z" level=warning msg="Could not resolve path link: /dev/mmc Attempting to continue" +time="2025-02-08T06:06:06Z" level=warning msg="Could not resolve path link: /dev/mmc4 Attempting to continue" +time="2025-02-08T06:06:06Z" level=warning msg="Could not resolve path link: /dev/mmc4 Attempting to continue" --- PASS: Test_GetInactive_HaveActivePartitionSet_ReturnsInactive (0.00s) === RUN Test_GetMountRoot --- PASS: Test_GetMountRoot (0.00s) === RUN Test_getRootDevice_HaveDevice_ReturnsDevice -time="2024-01-06T23:36:45Z" level=error msg="Can not stat root device." +time="2025-02-08T06:06:06Z" level=error msg="Can not stat root device." --- PASS: Test_getRootDevice_HaveDevice_ReturnsDevice (0.00s) === RUN Test_matchRootWithMout_HaveValidMount --- PASS: Test_matchRootWithMout_HaveValidMount (0.00s) === RUN Test_getActivePartition_noActiveInactiveSet -time="2024-01-06T23:36:46Z" level=error msg="Mounted root '/dev/mmc1' does not match boot environment mender_boot_part: 2" ---- PASS: Test_getActivePartition_noActiveInactiveSet (0.64s) +time="2025-02-08T06:06:06Z" level=error msg="Mounted root '/dev/mmc1' does not match boot environment mender_boot_part: 2" +--- PASS: Test_getActivePartition_noActiveInactiveSet (0.11s) === RUN Test_getAllMountedDevices --- PASS: Test_getAllMountedDevices (0.00s) === RUN TestMaybeResolveLink -time="2024-01-06T23:36:46Z" level=warning msg="Could not resolve path link: /dev/disk/by-partuuid Attempting to continue" +time="2025-02-08T06:06:06Z" level=warning msg="Could not resolve path link: /dev/disk/by-partuuid Attempting to continue" --- PASS: TestMaybeResolveLink (0.00s) PASS -ok github.com/mendersoftware/mender/installer 16.761s +ok github.com/mendersoftware/mender/installer 13.657s === RUN TestInventoryDataDecoder --- PASS: TestInventoryDataDecoder (0.00s) PASS -ok github.com/mendersoftware/mender/inventory 0.070s +ok github.com/mendersoftware/mender/inventory 0.022s ? github.com/mendersoftware/mender/log/syslog [no test files] === RUN TestStore --- PASS: TestStore (0.00s) === RUN TestExecutor -time="2024-01-06T23:36:29Z" level=error msg="statescript: Ignoring script '/tmp/rootfs_scripts266546211/Download_Enter_00' being not executable" -time="2024-01-06T23:36:29Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " -time="2024-01-06T23:36:29Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " -time="2024-01-06T23:36:29Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " -time="2024-01-06T23:36:29Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " -time="2024-01-06T23:36:29Z" level=error msg="statescript: Ignoring error executing 'ArtifactInstall_Leave_02': 1: exit status 1" -time="2024-01-06T23:36:29Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " -time="2024-01-06T23:36:29Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave_100' will not be run " -time="2024-01-06T23:36:29Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " -time="2024-01-06T23:36:29Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave_100' will not be run " -time="2024-01-06T23:36:29Z" level=info msg="Collected output (stderr) while running script /tmp/art_scripts480424148/ArtifactInstall_Leave_00\nerror data\n\n---------- end of script output" -time="2024-01-06T23:36:29Z" level=info msg="Collected output (stderr) while running script /tmp/art_scripts480424148/ArtifactInstall_Leave_11 (Truncated to 10KB)\nl߁\x00\x81A\x11P\xc2`WZʩ\x86W!\xa7v\xc7\xefL\x8bIWp\xd0\x12\xa2\x9d\a\xc0\xa2\xc7]\xd3eH\r\xe4a\x85\"ô}R\x15\xf1\xe7\xbcd\x8f\x8f\rad\xd7ӗ\x05^\x9d\x012AB\x93\xaf\x91\xa6\"*\xec\xf0\x9f\x1fx\x9f\xb0\fM\x01훱\xf4\xc54\xb5\xc8\xde\xc9FV\x13\xfcZ\x96\xc6F\xf8-\x1cJ\xc0\f\x80\x86W\xe2\xcd\xc4\x15\x14\xa8\xb7CCO|B\xa3\xfe)\xd7\xe5\xb4\xd6=D\x1e\tsdJ\xcddg\xe0\xc2*\x11S9D\x9e\xd1\xe1\xb9'YY\x13T\xd2\n\x11\xc2$\xbfX(\xc6\x01/:\x8c\xa8W\xfd7d\x8f5\xea\xbc$I\xdf\xdb\xebR\x0f'7\xd8\xd3ݟ\x89ѷJ,\x15\xfe\xb6\x8e$\xfd\x82K\xff\xbf\x81\xad@\xbc\x15\x1bA|\xf3\xf05+\x99pY\x19\x04y\x1f\x95ɱ\xfe\x97\x01\xa7 䞺{xiĐ\x91\xc2cB\x9b\x9c\xe6\xa0g\x9e\x96\xacY\x8f,\xa3\xd0\x03\x16=\xe8\xc0\xb4*\bH\x1a\x1f\xd8\xed\xa3\xd4\x17\xe7\xc1\xd2V\xde!\xf3U\x16\\\xac\xbf\x90\x99\xdb\xd5\x0f\x03\x8cW\xcb[\xefIO\x02.9\x8d2s\xa2\xb8\x04m\tD!$\xbeb\xa0\xea2\x88`7C\x90D\\\x11P\xaa\x80\x98\x19$j\xf7\xfeW\xa2\ns\xbf\xdb}\xb3lo\xb90E}0\x8aBI\x19\xc4#a\x99z\x1e\xa0\xcbs\xc2}\xeeB\xabdd\xbfTc8(\xee\x8fK\xba\x10}\x9d\x1cr\f\xc19\xdf(\x01\x88\xd0P\\\x195^BKL]\xd1\xcd\a6K\x00\x1f\xef߾\v\xe7ڨ\x0eg\xc0\x8e+\x05ވ\x92U\xe9\x17\xa1'\xc9$}\xb8\xbd\xc1\xf29\xd0`\xb4\xff֦\xf2Չ\x82\x1c@6\xb8\xe2@e\xd3\xdf\xf7\xa5\xf2*\x91J遢K\x80Ə\xa0\xef\xc9\xe6S\x89/\xf5\x04!њB\xbe\xd7\xd3ò/\xc4x\xf8\xf5-\x91T^\xfa\xd0\bE\x1e\xab\xf2\xf8YK)N\xf3\xa6\x8dߒ[\x843ц^\x13&\x0f\xa4\x96H97s\x83\x11U&\x13\x1b8\xe7Q\x98X\x9bj̈́T\xccz\xa2U\n\xb9L0\xa6\x8f6\x19\xd7\xf6\xcfN\x80\xa7?\xc1X\xc3~ \xda\xe4p\xe3͵\xd8\x18\x0403bKˀ\xa6\xe1\xe8\xea\x89dc\xe4Ҷ\x0f\xad\xa9\xd71\xb9+\x03X\x9a\xa7c\x97\xf0\x84\xaeۘ\xddg\x11\xa8\x1f\xe9\xc0C6\x8c\x87\x05\x95\x11P\x9fU5j\xa1\xc3\xc0sn\x17G\t\x03\x90\x1fa\x9dݛD\x96\xc4\xcaQ@\x1bT\xca%{E3\xee[\xa7\xc4t<\x02\xe3\xfd[q\x1bB\x15$j+\x8e\rxw\x97\xee\xd4\xf5*^\x14\x85ǚ/~\x9d\xd8[\xac\x1b7\x87\t\x90\xd77\xfd\x85Yp\xba\x17\x19c\x02\xa4\xc4{\x11\xb70t\xc4=\x1c\xb7\xb2\xda+\x11\x98\xbd\xfe\xf3$cY\xa4Wj\x8al;\x95\xdeEГ\xc1\x03\x98\xd9\x18\x97f\x9996\x8dw?\x98\x0f\t<\xd0Q\xe5\x03\x80\x04\xadh\r\xa1ŧ\xcf\x17\xf6\x8b\xbb\xecBdu\xad>\"\bT0ȯ\xf7\x1cM6\xe58)\xcf)>\xb0G\x15\xbf\xf7\t\x9f\xa1\xcf\xee\xea\x9c\xeb:\x06/\x8dDd\x9d\x0f\xbe\x05ّ\xc1\x17S\xdb#\x91i\a\u007f̵\xa0=\x18bj\xef\xbd\t\xectdp\x81\xe9;\x93\xae\x00\x96ᱫ`\x8cv\x8b\feO$\xd4+\xf4\xfaj\x9b\x96\xfc\xc77\x1a\x8f\xddk\x8b\x81\xee\x82\xcfz\xa6k\xbfn\x1dy\x05K\x94iƕRv\xc9\xc7h\xd2uU\xb5\xb7\xb5\x15F\xe9z_\xfe\x93MA\x8c\x8d\\\xe4\xec\xa3\xe9˴\x05rg\xd19Z]\xe5:E\x9f\xbf\x9d\xbc\xae\x9eL\x98\xe08\xa9\xf2N\x8d\x97ޘ\xc1\x1b}te\xb6#\vb\xfdrc\x8a\xb4\x0f\x13\xe1\xdd\xc2j\xbd\r\x8b$u\v\x0e\xb8\u009c\xfa\x86iH\xab\nXV\x98\x80\xef\xbb/\x02\xe4Qi\x9bV\xf4\x92h\x04\x82+\x11V\xfd\x9a\xf8\b,4\x15~\x8aԒ(@B\xb7\xac\xfd`\x9b\xd2\x16\x95\r\x95c\xf7\x944\xba\xd9\xed\xdf\xe0\x15\xf8\xc5\v\xea(b!\U0006cb86g\xd8\xc9\xf0\x15\xcd[\xf8K@\xfa\x02\xa3\x045kv\xac\r\xf3\x0e\xe8u\x1d\xc4\xdf\xf1\xce\x17\xf0\xa5\x8em\xe6\xa6\xed\xe7h\xa15\\p^\x0e\t\x84\xb5Nk\x93\xfa\x17\xc2F#ß\xeaǜP\xdb]\xd1f{i@_1ák\x0eù\xd9\xea\xc5/\x9f賔C\xe3,k\x8b\x8et\xc5]\xf5\x8d\x96{\v\xaa\xf5\xd8\x13M\xe4\xbf\xc0ơ\xcd?\x93>hp\xac,\xb2\f\xdc\x163@8VҖ\xc8Z\xf3\xbf\x95#捰\xc1\x14\x85\xa5\xc0\xefe^\x01-+L\x83\xb3\xd9q\x06m[\xea<\xafd\vb\x1b\xe9\xf1\x93\xc5k\x97\x9a\xda\x0eb\xf3\xf0%\x8d6\t!\xfd\x95\xfe\x91J>\xbf\x05/8\x12\xef\xda\xf1\x88u\f\x01\xe9۞J_7zgUC\x10헞<\x1d\xf8r#4\xa6\xcd,\xb0\x06*\xff\x96\xfc%ȵ\xebh\xaf\x064\xb5\x8f\x06\x03E\x19\x04q틏Lh\x82\x83\xd1\x12w$\x04\xf2\x98\xf8\x97̇\x00\xa2\xe8RY2\x15u\xa0\xb7\a\x1bŒ1I_?H\xa6\t\xc5\x05\xae\x02Y\xbdK\xa8@\xfa\xdeyBLߙ\xdb\xf6-\x9a\xe9\nu\x95n\f\x19D\x94\x8e\xb7\x1b\xa5\xf3\xe0J\x11\x10\x8a\xf52\x1c\xa0\xc8\xd4L\x1df\xcf\xff\xa6\x940\xeeA\x0fd_2L҅\x1c\x98\xfcv\x0eB\xd5~uH\xbeyb\"\xbc\xba\xe4R\u007f\xec\x999=-{1\x9c\x12\x16\xf88\uea10e\xdd\x18ܫ\bP\u007f\"\x18\xfe\xd6%\x938$S`\xaf\fh\xe7\xfa\x9coCTs\x01\x02/\xfcz!W\ti\xad\x95\xae/\xbdB\xf9\xaa\x8cm1uP\xc3\xeb\xf6\xc1\x85\x06\xa1\x87J\xd0\xff\x0e\fgV-w\xd6\xcf\xd32\x19\xde\xe1\x01{+\xb8\xeb\x8b\t\vl9\xdf\x1a9+Ь\x18\x9d\xd1ѭ\xf3\x0f\x03\xbf\x11s3\xb1\xb6<'P\x14`ӆ\x9b\xc4kq\x9c\x1d\xfbz\x1ej\x9b\x0efM\xd9\xf1B\x96\x18rr\x96u3K\xadEI\"*HC\xf1W\x18\x96&\xef\xb3\x1b\xc1~u\x19\x8e\x03\xca\xf3\x8b\xae\x06\\~\x97\x97\xe1\x9cy\xa8U\xcd\xc1pG-\x1e1/kH\nI9\xc7\x12\x93'\r仸\x89\x1a\xc0\xb6P\xbct㢚\xf0\xbc7\t΄\xe4^\xab\xae\xc7+ˆsbǨ\xe6\xb6\xfbrEȓ\xf3\x03\xbd|\xe5\xe9R\xb9\xf3\x8a\x9d#\xadՠ>b\xb6\x18\xdd\x1f3\xd4Ըn\xa0ٰ\xc1\xb5\xa2\xe5\\\xf9\xe5\xc3\a\xf9DE\xcb+\xfdA/\xa8\xb1ly\x86\"\xc4\"\xcb\xfd\x01\xe8\x87,\x1c{B\xa5\x84\xdce=Pd\xfeG\xf2\xb3\x90\xca촞3<\xb1َ\x0e\x83E=[S\x12\x19\x1d\xb5\xc0\xaf\xdeG\xeb\aa{\xc2\xd3\xe7s\x06)\xfbQ\xa4\xe5=\xf9\x8e\xd8C\xbd\xea4\x9a9\xa8\xae\xf5\x1c\x88X\xc8o\x0fJ\xd4I\xfa\x04\xca*Y)g\xb1x\v\xf4\xc6\x1c\xae\x1ain\u0558\xfe\x0f\x01.\xa7h\xa7\x89XS1b\xf8\xc4r\xc6H\xc9\x10\x85\xaf\xc2\xf4\xe94+\x8d\rE#\xe7\xd4\xec\xf93e:\xbf\xb1W\x81'\xd4\x1e\x19\x1d\x86\x95m\x86\xf5r\xac^\xafEx\xa2\xaa<\v2_\xb8\xcb\x0f\xd8Ί\x11\xfc\xd4\xfd\xe6\x91htF[̔yP\xcdV\xe3>\x0e];\x84\x0e\x95)\x92E\x1fhݽ\xf3\x16\xf8\x1c\xe7c\x06\xec\xb7\x1a!\xc6e\xb3W{\xe1\x10J\xb1\x9d0\x88\x0eVڌM\xbcގ\vų\xcfs\xa8\x98s\xd3\xc0G\xee\xa7ZŊ\u05eb\x04o\t\x0f\xb3\x97\xdf}j\xd7lv_ׇ\x9ad7\x80\xfc\xa4\xb0\xb5\xd8!\xd54\xda?@\xd7\xc8\x13d\x1a\x16nB\x80\x05\xd9iZ\x85\xaa\xff\x10f\x8a\xfd\f\xb6\x03\x86=3\xa2qٔ\x81\xa3\xcfv\x8d\xb9;:\xa2\x16\xed\xe0\x9a\x18\xbbv\x87N_\xa8\xab=Ӆ\xcd\xc0\x10\xfa\xdb8\xbe\u007f\xa4E\xa5ե\x12g\xa9\xb9!ј\x8a\xabD\xe6d\xaa\x14w\xcdS\x938\x8eq\v\x91\xd9\xfd\x93\x166T\xb1\x9d臫\xae1\xee̱/>Jᳫ\x106k\xe3\x1a$O\x1a\x1e\xcb\xc9v8/,a\xa5Q\b\xff)\x98\xa0\xbd\x9cy\xc5\xce\x15\xcb#\x06\xdf&\x16|\x88\x85\xbd\xa6\xf3\x12TLd\x1dD\xee\x8d8\xce-Ә5\xa6#\xf4\x86\"\xe4Ng&\xa1\xa2\xabg\xa9\a=\xccp\x9a\xeb\x13\xc7\u007f\x01\xb8\xceT\xf9\xe4\xbe5\xc4=\xad{J\x1b\x86\xa1\\o\xcc\xee{\xbc\xdc|\"\x0fO\x18\xb9 \xa9\x14,S7)Rb\xa1\xef\x11\xeb\xb9\xd6\xe6E\xb3g5\xed\xeb\x8c\xc8\t\xc8s\xc7\"\x0e\x16)\x9e(\x8fK\xe3\x83\x04c\x80\x81\xad>\xeb+Ͱôɷ\xef}\xddl\x9c\xd1\x1f+q4`\x83\xeeՀ\xd7\x03\xa1\xda\xcf*\xe2\xa1\x01\x81\xf2\x86ǁ\x82\x17\xfb\t\xf7\xfb\xf4\xd0EuEeh\xbc/\xb6\x99i\x90\xfd?qZ\x18W\xa37_\xe1R\b\xc9'\x9a\xe3\xd9\xc9K\x96\xa3\x88\x0eh6\xfcJ\x85\x82\xc9\x18&\xc0ßiE\xe6\xfad\x04\xef\x01\x1b\x16`\xfb\v\x8c9/\xf0\x83'I\x04P[\xf4\\\xe7q\xeek\xfb\xc6c\fB\xa2\x15]\x96\x06\x8c\xffBG\xdfh\xe9\b\xe4:\xe9\xbe\n\xa6;\xf25֢\x90\xba\x00\xc1?M\xa8\xde\xfc\xe2\x8ee߽\xbbR\xb1\x14\x18\xf8\xb4W\xf1\x9c\xf9\x9fv\x16YY\n\xb0XQc\x1fS6@\xc9\xd4\xf7\x8eP\xbe\xf51Z\xc1\xf5\x05\\\x89\x13\xa3=\x06A\x9f\x85#K\xe3L\x80`\tK|B\x976\x95Q\x94\xe9\x88\xd0f\x16\x0e\x11\xa7\xa5)\x1b\xaf:\x1b\xbf%\xa6 q\xbb\xafxe\xc3qS\x85\x99\xb0\xeb6\xf7\xdd(ͺ-\x91\x85\x81d7`\xd3mU\xdcRb,\x15\xe2+\x9d\xbc\xd4Y\x8b\xc7O\xec\x06F\x9e}@\xd0\xc4bgE\xd4(\x8euX\xfbo\x1c\xd4\xdd\xfc\xe3\xb3\xdd\xdb'\x1f\xbd\x1e \x1aJ)\x9a\x9d\x8cM(\xd1\xc7\xdeޤ\xae\x88Y\x17{\x14!\xa7*ٱ$\xd6`\x8d)\x8b\xf2\xb2Zk\xb8q&\b\x12De\x8c\x1e'Uh.f\f\xf6TU6\x14^3\vP\xaeE\xc9\xf4\x1c\x93`\xd0v\x8b\x963\x13\x9fK4\xd0y\xf2\xac\xb0:\xf9t\x81\xe8\xe1\x19[\x06\x95\xef\xcb#\xfd\xbf\x9dF\xea\xc8\"\xbbj\xdea\xa3+{\x02T\xe1|\xdbq\\\xe1Y\x85\xc9\xc0{V\xc01\x90k5\xb2h\x94\f\x88\x8e\x82\x02-?\x1d\xbd\xc3$\xaa\xdd\u007fF\xdb&韶\xc6\xc1\x10\x91{\xee\xee\x1f\x0ea\x99\xd1\xd6\xef\xf7\t\xfb\xd6\aS\xc2IS\xa8`0\x894\x8a\\\xdcN.\xd1롾(\xaf\xa2\xba\xc5\xca\x02'\x8d\x11C\x02A\xd1\x04\x99Ċb\x87\xf3}\x8f-\xbf\x90t$B\x1d\xa5\xa1#0\xe9T@\xc1\x9dJ\x1c\aS\xcd\xdb\xdeX\xd4 /\x9c\xb5\x11\xfa\x1d\xe7\xe1I\xbf}\x94C.\xfevwkmi\n\x97\x9f\xd0\xd2\xf2/\x1d\x85\x84dž\xe2d\x12)M\xc6&d\xde\xd5$\x96\xecv\xae\xed\x99\xe9|[\x1f\xd0\xc9\x1b\x90~\x8aLj\xe4BAr2\xd2]\x0fXf\xbf\xdf\x1e\xa4\xad3\xdc\xc1\xfd\xba@F\x1f\xfc\x97,\xf6\t$a\x1e\x17w\xbe\x8b\x83Cn\n\n\xf46\xa0(l8n\xe4O\xcf\xc9\xe27V\x0e\x85\f\rO\xc9q7P\x8f\xe49,\xc2\x11FJ\xde\xfa1,س\x90\xe7\v\xa4\xa4j\xe72\x8a\x98k\xf1\x8a-C\xe0\xea\xc5o\xee\u0530\x1b\x19\xc9\xffAF\x84\xfd:UeJ*\xcdv\x80\x91\xb9\"y\xe0\xf9U\xf4\\\xd2\xc0\xa2\x13';%^\xe6#\xa2\xde\xe4ny\xfdU1T\x809\x06\xfb\xaa\xb9.œ\x99\xacą\xf5W\xce\xffN\xd1F\\{a\x97\xf9I>\v\x99\xb1\x19c_i\x9a\xbeǠ\xf2\x11 \f\xbf\x11\x83\x00\xe3\xaaZ\xc4\xfa\xf6\xd8Aj\xa1\x85\xc2,\xef\xf9\x90]\xfa\x80\x98\xc0\xc8U#\xb1P<鮵\xc0u\xfc\x8f\x96\xab\x13\xc0\xa2\x82\xc0+\xcf\x1aj\xaf\f\xafMM6\x17@\u007f\x0f\xfa\xa9\xa6'+\xa9\xde\xc6؞\xb9e\xf0\x988l\xe8B\xb1b\x9f\xf2\xfc\xf2$\xee\x1c\xce5\u008eJQ\xabnA>\x83\xdf\xc65\xc1\xf3\xf4Z`\xadwu\x92zF\xc4\xfbc*\xb9\xb8I\xae\xa2\x00ֈ\xcb@\x1aqCtxU\xf3\x19\xa9\x10\xb4|?\xb1\x9cQ\x153\xe8\x036\xe5\x8cX5`\x05\xf8\xcb\x01=\xdf\x11\xf7\x8d\x93\xa7\x05\f%[\x89U\xed\xbbU\xe4:8\x8e?b\xce\x02\xb6\x1eo\xa8\x00\xefzHe\xeb\x8aL\x83\xc5g\xc7#\xf0\xdd:3m\x01S \xac\xed'\xa1!\xe8\xfce\x99\x91]\xd4jĤ\xa2b\xdf\x16\x0e\xe8`\xed\xa6\xd6H+\xd0\xcf\x1d]\xce\xf4\xaf+X\x83\bD\xf0\xcd\x16C\xcbd;\xc5g\xc9\xeeV\xca\xe9kQB\xd0:\xa6\x9fA(\x03\r\xea)\xee\xe0\xcd}\xee\x8e\x19\xc5T0T\xf8\xf9߽\xb1\xa9v@G:B\xc1a[A\x8b\xf0\x89G\x9bLعg\xcdYW.v|\xc6\f\x9e\x82\fh;\xbcY*<ʌF\x98\x93\x1e\x89\xb2\xc7ε\xf30\x8dx\x8f\xa8\xcfJ\xb5\x8dȇ\xfa\xc0fC\xbfr\x9bNv\xb5\x91\xed%\xae\x10\x8b=-A\xb1\xfat9\x88p\xa8+\xea\xe1\x19\x1e\xeb\r\x1f\x82\x03\x843>俟X\xccN\xb7k\x82i\xeb\v\x8c\xfa\xfe\x9bd\x81\xcb\xf4]#\x1dN\xfb\xe3\x1e\x10\xd5Ĝ\xcdg\nIr\br#گ\x128gV\xb7\xd2\xec[\x19\xe7gL\xbc\xc2\xedf\x8f\x92\x05\xf0\xa1\xdd2\xb0\xe4\xfdP@L_\xcc\xf7\x1d\xcfq\xc7\xc1\xb3\x88\xc7\xf6<\x9a\xa6H\xe8\xf7\xcd\xe9\xe2\r\xe2\x8e\xd3\x1d\x97\xa5X\x97\x1b\x1f.\x86\x14\xc2\x19\xd2\xc4\xfb\xd2S\x1fI\x00\xf1\v!\"v\x8e\xc1S\xcf`\x058ɼ\u007f:\xf6̳\xba\x84\xb1B\xe5\x14\xbb\xe8G\x81\xe0Rnk(\x17\xaf\x8e\xfd\x02:4\xb9L\x93\xf7!\xca8\xe2\"\xceʞ\x87\xa27\x16c\xbd\xa7ņ\xbd\xf4Gd\xad\u0558\xee[\xa9\\\xbe6\xab]\x97\xca-d\xf7\x06#\xac\xe5jf1۫\x804S\x9e\xc9{\"\x94E\x1a\xca\x05\rʘ\xb5\"7)G\x1b\x1d\x90\x10\x84\x80\x15EԿ\x95\xf8K\bir=\xf9zh\x98\xf8\x0eJ\xabx\xd4\x11\x99\x19\xb9w4\x880\xb7n\xa5K{*\xc1\x91\xf9\x1e\xf5\x17\x9f\xe1\v\xfc\x0e|\xcd)\x96\x94\xaeP\xa2\x05\x96\xa3\xef\xc1\xb9\x17\a.~\x8d\x86PՊGNY\x05\xdel\x8c%0S(\xd4\xc1\x99\x05\xf1Z\x9d>\x14\xcb~\xe4&<5Kz=\xcfB_e-\xa7Q:\xb4B\xca7\xf4\xf4 \x0f\xbeS\b\xff\xd7-\x83\xdbƔ>T\xfd\xa9Ը\xa7QG\x1f\xf2(\xd8ҕT\x82t0\x94\xbf\xc8\xc6M\x11r\x92\x9d\xf3l{\xa2B\xbc\xaf\x19\x0f\x022\xae\xdf\xf4ŭ\xe0\xe8xyb\xad\xda:}^\xe4;\x19F&@\xa2\xdf\xc3\xdfJ\r:Y\x88$\xc0M \x8fƵ\xf7\xb1W\x1c\n\xbf~\xf5'v^\x9c\xee\x94[$\x98\xbd@\xfaes\x83\xf5\xc1[LL;L\x16\x06\xb7Φ\x89\x85T\n:\x97\x87Z Ҹ@\U000a83a8h[{\xc41\xb6ˋ\xec\x8cS\xb4g(o\xe4\xbbɻua&\x95\x96\xe4\xda4\xaev\xf6\x02\xbdGH]\x8f\xc2\xef\xd7\xe9\x17\x14\x80}\x89\x85\xff\x80\xa8\xc3\xf9\xe4ؚ\xfcұ\x99-\x14\x92\xec\xa6\xf7V~\x15\xa0R\xec\xabZ\x1f\x8b\x98\xc6R}\b\bC\xb7\x94\xbe\x1f\xbe\xe0W\xed\xff\xc0\xa7\xb6\x1cQ:\x99\xc9+\xden?\xef\x1b@n\x1dsݭak\xda\\\xe9z@\xc8\xc4\u007f\xf2\xae\xb86\x9a4,;\xd7:{\rb\xf5ƽ\xf6\xbf\x87\xde\xfb\x89bƔ\x89`]\xa5\xf7z\x905\xf4\xa1\xf8r\xe1s\x98\xb5\x8b@\x9e\xdev\x8dgP\x02\xed^T\x88m_\x19\xe6g\xac\x17\vo\xca+\xd2\xf1+\x9a\xda^\xff\x12tm\xc9]\xf1\xc5i&S\x14w?\xbc.\\~\xe2U\x8b8 4\xbf\xe0\x16\x88љd\xe0\x1f\xe5\aHtK\xa1\xabmqi\xb2I\x1e\xd8&9\xe8\xf7of=\x97\x12k\xb9fp\x8bZ9l\x8c\x80\xa1\x84xĂ(6\xc2\\\xa4\x00\xdeQ\xf4\xc3w\xa01k\xe3\xd1\xe2z\xf7\xe3\xd9\x1c\xf0\xeb\x9cy\x90tϻ\xd0a'\xf4\xa7d\x94\xf4\xe6\xbb3\xfbj\xfcR\x13\xb5N\xd6\xffIr\xf1\xb0ŗ\xe0?\x87\xb5*\x8c\x93\xc1\xb7\x00\xbe\xac\x90\xee\xdeГ0w=\xa03c\xe2\x84\xc1\xae9\xd0<\xa8?_\x1c\x0e\xf8Y \xdbL2:\xe13M\xb3i\x00\xbd\xc1a\x15u\xbe\x1b\xa8\x91B\x1f\x9a\xf2[\x9d*Q\xf8\xed7\xfbk\x94\x88\x96\xc1\x01\x03=[\xbc\xe1\xb7[\xc4E\xec\xcb\t;=\x85\xfe\xe1\xa1k\xd1\xc7S\xe0%<\xa7\xa6\x04\n\x80\xa0X\xfa.\xf6.\x96\xa0\xb1\x13M\xb5-.\x8f\x8cf\x04\x1c\xf4\a\xd3W\xf5\xf5=ɢ\xabP\x9e\x1d(\xce\n>\x1b\u007f+8\xa0\x1f\xed\xa2d\x80V\x13\xe0l^\xc2\x15\xe6\xf6=Y\xaa\xba\x86P\b9\x14\xa7_\xf2\x19,Jj\xac\xfa\x89L\xd1i#H\x90m\xeb\x93\xf8>\x82\xc3\x10C\x1cX\xed\xa3\x16\xa0\xb0\x0e\xf8\xa5\xa7\x10\xb8\xb5\xc1\x88\\\x19\xf5\vEl\x10\xac\xd4 _\x05WN\xbd\x9f\xc7\xe969P\xf2P\x9c\x8cv\x92oC\x8b\xea Y\xce\x12\xb6\v\xa4\xa1\xc9\f\xc0?\x16\x11FV\x13\xc3Ƅɀ\xee\x82V\xf2\xb9l\x9f \x8c\xa9\xbfx0\x15\xf5\xbe\x14\xea\xb4\xf0\b\xcb\xcf6E\xf3U\xc3\xcb|\x80\xad\xde\u05cd?\x1fо\xf0\\\x8d\x90\xa9\xeag\f\x80!\x01\xe40(C\xa2e\xac=-W\v\xb9s\xf7\x85\xca\x02'\xc9?\xdb\xfe\xff\x8e\xf2Q\xfc\x95\x17&\xb4\xed\xe6\x90m\x0e\xa3Ƣ\x9b;}8N\xf0\xd4\xf9\x13\xf8\x9f\xad\x1f\xcc\xf5\x89\xe1%\xabχ:\xc8E\x0e\x9a\xaa\xf5\x9fG\x95\xbb\xdd\xf6\xb8\xd2(\xa1\xa9L\xdaU\x97\xb9\x8f\x8a\r\x98\xb7(о\xbf\xab>\x1ed\x15\x86\xd4\xc9\x17k\x05\xebk]\xa5U\x86MI\x16\b.\n\x84\x95\xc5\\\xa1\xd1M\xb6-\x10\xa3\xaaŝ\xdf\xf6\xd3\xe3\x87K\x1eD^Q\xa3&C\x9c\xcaQ`\x8e\xc5`\x99\xd6Z8\xda\xfa`\x17\xc1ѥg\x0e\xc07dYΟ\x10Y\x83\x83\x11\xdc>\xd4۽\x98\x1a$\x01\x91f_\xe7\xc70,X\x05\x97By\xfc8\xa1\x81\x11\xbf\xf2\x1a\xaa\x84\xb5\x93-\x93\x87\x89.y\x1av\xa6qA\xb21\xeb$\xd1(V\xd7Jڐw\xc7\xe6\x03|;\xb0\xabAh\xb5\xebPp`낫\x89<\xfc\\~\xed\xc3\xf0ƍ\x9a\xe3\xeay=ח\xa3\x1c\x17\xd0T\xbd\xc8\xf2\xc1\x0f\x9dCG\xecxF\xe7b\x87:\x8fy\x9d\xcf\xd29\xb7iIy\xb6Kʢ ch\xdbw\xc8\r\xc5!@\xe4\x1a\x0e\xf1[\x8f\xab@̵\x81\xb5\x82`1\x97\x92!F\xb2\xdf-\xbd\xbe9\xcd@\x1f\xcd%\x13\x01>\xdc\xf3\x10\x89T\xe3U1W\xd1\xea\xa31s\x02\x993\x03\x9b;_\xaa\xf8\x93\a\x12J\xa5\xa8a\xd3[%~W\xec\x1a\x02'\xce+\xa7q\x8f\xdb\xff\xdb\xd3\x16 V_\xa7݃d&@D\xc9\xed\x05\xd7\"\x0f\x86\x8f\x03\x0f\xb1\xae\xe1\xa1\\\x8ca=W\x17\xa8i\xbb\a\xf0\xd4\xc7Bs\xb6\x05\xb47\xf9Vn\u007f\x88\":\x04\xb7\xb4\xcd\xf3P\xd0)\x80\xebE\xf4p\x0f\x88\xbd\xb8\xee\xad$BV\xf8\xca`]\x91m߲\x9dP\xe2UaI\xbc!ii\xd6&\xe3\xb9Y`\x16\xa7\xdf\xca\xffG\xc9H\x99\xbb\xce8\n\x10Ç\x1cj6أ|Iat̐\x9b\xa0*;t\x98ʲB\xc2\xfe\x97\xdd9\xb4敋/k<\xa3H\xe5ͳV\xfatܑ\xfd\x14\x91\xeb6o\xa1@\xc9lſ\xd1\xef\x18\x01\xdf;\x1as\xbf\x8f\xf7{\xd8I\x16\x12]\v\x9f\x9d\xd1V\\\xfe\x10\xaa\xb1T\xb4\b\xb5Ep^\f\x8e\x1bN\x8d\x17\xc6(}Dt\x8b\x13\x10\xa9>\x8e\xbb\xa6\xaa\xffJ\xed8j\x0foK\xb9[`F&\xd6ث\x81\x1c\xa9x\xe7QҰ\x025\x0f\xbfq:\xfc\x16\a|\xe6$\xcf\xd3\x1c\f\xabzҾqP\x0e\x95\xac\xaa\x1b\xe9\x11\x88\x9e\x06\xb3{\xfb\x06\x8e\xbbZ\xb2\x10\xb4\x05I\x00\xdf\x14\xed$dy\xb8]\xfd\xfdz\x92\xa1\xe7?x\xd2\xd3\xeb?\xedou\x86\xa9\xc0l\xb42\x93M\x9f\xec\fp&4\x90\x16y\x1bdkT\xbd\xc2\x14\x1aK\v\x13\xed\xe0⻖\xb1\x92f|\xc3\xed\xea\x06\xe1@9\xb3O8\xb2%;\x95\x92\xfe\xa3U\xaeI\xb1[^\xc6p\xa3L^\xe3\tv1\xf2\xd7i\xf2\xf0\x17ʼn\x11\xc8w\xdc\xf1\xaa)\x85T\xaa\xe0*'cEX(7\x81#%P\x99\xaar\xcd$5\x011fm\xf9\xbc\x88\xfa]\x15\xb2\xe8\xc9\xc2E\xcad\x96(9\x93\x0f\xff\xf6АS\x92m^n\x0f®lh[X\to\xf5\xcdg\xf8\xbc\xb9\x13#*{r9>\xf1\x89\x15\xf5k\xdd\xea\x85\x007A\x18K\x90\xf7e[\xacRX\x81\xf4_\xda\x03\x91\xb0\xcc/\xe0\x89g\x9b\xe8SqK[S\x92B\x1b\xa7\xb5\x16*\\p\xddB\x8c\xafN%\xd8\xfa\xec\xdd\xfc\xb6\x8f\x8c+\xf3\xfb\xaaB\x18\xf9\xe0\x99\x83شkآ>\xe0\x97\xae+\xfd\xfc(j\x8f\xc1σ\xfe\xa4}\x05\xee\x91\x17s@\a\xe4\xeb\xb1\xd21\xa97\x95\x9b\x8e\xc7Η\xc1Kbܿz\xb0\a\xfc\x00\xe5\xab\x04\x14\xaa\x1e\x89\x84\xff\x15\xe7\xac\xfbǷ\x8f\xb9\xafPc\xb4(ޭ\xb8\rWm7\xa2R\x11\xf7pZ\x00\xf1\xe3Q\x82Q\\i\xa2\xd7\x13v\x06һ˭\x8a9\xd7\x17\f\xae\x82\xb69\x944~\x01\xe3-s\"\xadX\x15_\x9a\x0eib\x13\x11\xedE\xab9\xa0\xf8\xf1)qLN\xf1\xa8ՓY\x16\xbfLw\xf8W7\xe8?\x8fg\tP\xa6\xe8\x956\xd8\xf4\xe2\xe5C\xe6\x02*)_h\xc6E\x8d\x02\xd2\xf0\x16\xf7\x81\x1b%wʠ\x8bgIR(|X\xdb.\xd3^Wc\xeb\x97\fܷ\xabעe\x11\x024ܮ\x98Q\xe3Y\xba\a;\xcc\aASYi/X\xd0H\xb8\xe9\x9d\v:\xa4\x9fi\xe2\xfb\x98\x1b\xda\xde\xe3{\xc3\xcbfV?\x8a+\xbf\xbe=\xdb\x06\x19\x96\xac>1\xce\x04\xd6U`\xaaT\x16\xb3\x9d][\xcfliu\xcfՇ\xaf\x85$>\xf30>\x0fC)\x149.\xcf\r\x80\xefY\x92t\xd7\x0f\xff\xa8\xdeC\x03Ӧ{\x06\x8f'\x10\"\xdb[\xaa\x17\x16\xb3\x9b\x99\xd9s\xea9\x15\x03oX\xe7\xc7\xf9\xa0 R@\xef\xe3\xf0T-\x181A\x06\xe6\x0f\x1c\x06\xbc.i\xff\xf7>\x06/\xae\x1c\x9eKŋ\x98\x86\x11ݡ\xf8\xf46\a{\xd2\xe7\u05ebY~V\x99u\x1b,\xf2\xf7Ӽ\xc8i\xe4}\br\x1a\xf9\xb4\x99 1!fT\xfbL\xed\xad\x87_#\x96\x1ehhn\x89\x9e\x00!N\x81\xcbkfLT\xb5^Nj\xbf\x1c\x17u>\x848\x90;\xcath\x8b\x029\xc8\xdd\xe5Ͼ\xc2\xe1\xb8[\xc7\x1c;+\xbdSa剁qX\x12e\x9d\xfe\xec9c\x19\r\xff\xebB\x9f\x18Ǿ,\xd7U#\x88\xb2\ueaee\x9dY\xb3\u007f3\x98\x0f~G\xcd\x1e\xcdSns\xde\x01\xadA\x8b\xe2\r]\xb6G\x02)\x8c\xa5\x9a\xf1\xa0\r\xad\x1f! \xa1\xfa\x90OO\xfa\xccv\x1fj\x86h=\x88Y\xaf\xb7\xd4\xdc\xc1\xbb/&\x9c\xae\x18SQL\x8b-\xa6\x920\x85\x88\x13\x86\xab\xc0p\xd4\xdb\xdb4~\xbe\xc0=^q8\b\xdf\x18\xa5\xe0]n \vik 6\xb5\r\x8a\x16v\x8e\xb4r5:3x\x84\xfczw~:2k%\x1a\bh\xdf\x196\x90Xu\xff\xaa\x05\x1c\xe3\xc9\xde\x10\xeeO\xb2X\x9f\f}\xbc,X\xb3\x14\x97_\xa6\x8c=\x81Hi.V\x19\x8f\n\xef>\x1d\xaa\x1e\x9b\xcfA\xa2\x1f\t\xd01\xb4.\xbcs\x17M\xe3\xedj\x0eG\x83\x8b.\xba\xad<\x9c\x18kT1\r\x80\xf34T=\xf5\xc5`t?\xb5\xa9\x03͝#{\x1dmj·ލ\x9e\xed3\x85+\b//W\x05춛N\xc4Q\xb9\xe6c]\xb4\x06p\xb0\xfd\x98\x12\x93K\x1ft|\xe6\xc1\r\x00-\xca2֊\xa4\x93\x8a\xe13Dž`\xb6qR\xb2\xf1\x05ףB\xcf\xc0\xe9\xabr_\x1d\x90<\x8b\x1f\b,t\xc4zkU\x0e\b\xa8x2\xac\t\xbe\"U\u009cD\x8e\x84uD\xfb⟃!g\xce\xf6Ѫ\tv\x8fsc\x9b\xb8Q\xbd\xf7\xd9,\xb3NpJ\x1a\x03\x06^\xb8\xf3>\xdb\xc3\xfa;\xaf\x8cq\xef\xb7\xd9د\x87\xe7\voX\x9a\xfawH\xb3_~\x06E\x1e\xb6\xb0\x8df\u009e\xebw\xe1\xca\xd5\\\x0f\x90\x92\x80C\bI\xf1֏q7X\x1c\xb2\xad\x9dv\x152<\xb2\x96\xf0᯦W\xc1\xb8\x8d\xaa\x0f\xa8G\xeb\xee\xca\xe1\xc9\t\x9bޣ\x1dУ<\xb9\xc2'*\xb2\xc34\xb0^\x0043\x9b7\xf8r\xf4\xfe\xfb\xd6\xdd\xf7m%\xa2xu)\x18\xa5\x93f\xe3\x82ky2_N8\xc3v3\f#\xd3s\" \xed\xf7\xcex`\xcbs\xf9\x13\xbc\xefJ\xfdX5Nex\xcaF\xe3\xa1\xe7T8\xad\xa1\x88\xcaG\xe0 \x9al\xfd\xfd\xe8\xf1\xd3a\xf1\x88\xe5\xb9\xd9\x10KM\x12|)\xa5\xe0\xff\xbe\x81c\xde\xe2gp\xa2%!Kpp\xac\xb7\xcf#\x99\xf7\xad Q13\xac#\x8b:\xe6\xae_ \x01\xb7|GƤ5u\xd9\nᣆ\xb6\xa2\xa2\xed\x88K\tPF\x8c\xa0\x1bz\xdd\x03\xb9\xa2|\x86@\xc1=\xc3h\b\xf0\x02\xd35\b\xa9]|U\xdb\xe9F\xe0Ƨ\x17\xcf\v&=h0\x90\x89\xd8k\xca\x01낥\xde3\xdcKg\xa8z\x85\x98\xff\xacv\xeb\xbd\x185c\xc2\xd78\x9epT\xad\xbe\xea\xe8n\x8b_S`}_\xa62\xec\xe10\x10Ez\n\x93\xec\xb9Q>\xd0N\x89\xdc\x15'\aJ\x1c!\x1dXڐ\xa6\x81-\xa4Ͱ\x1d\xc6ֆ\xb2\xa7NJ\x97\f\x1a\x80;V\x8c神\xf8\xa44R4\x12Qo\x93\xcaq\xc0\xe3\xc6E\xe8\x0e%,\xad\x1e\xaaHx\xf7N+Z\x94\x91\xf4\xf2\xbf6\xcd\a\xf2\xad+\vcT[.7>Ւ-\xa8B\xf8\ncC\xe7\x83Mo\xcb+\x1d\xac\x93\x80\x8d\xce9\x9fӧ\xdaX\xa4\x82A[\xcbf\x15mΞ\x89\xea\xf5O\xe9\xa0\xf7\x92y\xc4.F-9\xa5\xe1H\xf4\x94\xaaJMQ\xfc\xf2\xadN8\xc6@\xa1\xab \xe8Ψ\xa2\x8b|bE]PM\x12\x00\xee\bQ$|\xaa\x16OHՋ\x96\x8e\xfa*\xde\xed~\x12Jih)\x10x\xaa\xbc\x1e\xfdA5\x89\x81e\x19\x0e\xc5\xdcZs\xaf\x96\br\xdf\xf7\xf9\x96\xba\xc1\xacq\x1b\x04\xf7\x9b\xa2\u05eb\xbb\x92X\xe7:>\x06\xaaE۶\xd3\xd7\xc9H\x19\xa9\xf6\xae\xe5b\xc9\xdfQ*\xd9\f\x8d\x13\x05\xa1\x84\f\x01<\xc0]ɴ&\x1a\xef\xd0\x15\x1brw'5\xb9QN/\x9e\x02\x95\xa7\xf9\xf5\xceF\x8b\xa9\xef\xa0U\xb5\xab\xb4G\xad\xa7\x80\xaa\x9f\xbb\x1398\xba\xae\xa4\xfeϟ\x8e\xe7\x82\xed\x81\u007f\xdb\av\x98\x14\xad(긞\x02\x04\xa5\xa8R\x83@a\t/pc\xc2\x18\xe1b\xf7\xac\xff\xa8\x96O\x14^\xbf\xad\xb9F\xf1\x96>\xb4\xf7ZI:\xf9\xc9c\xfb\x93\xe4O\xb0\xc6\xd7^\xb1'\xd2\xe4v$gf\x12\x99\xc0\x95\xed\xc9\xf0\f`j\x9b\x82\t\x1f1\xd9\"\xfc\xa3\x8bcGԡ\xd0h\x11\x1f\xf6\x87}\xcb3`X]7\xf3\xc1\x99\xd5摠~\xf8{\xf3\x95\b$\x1c\xa3\xce\\7E\x1b:8~\xbd\x8eR\xf141\xc7\xfe\xa7\xa2\xc2,S\xdb\xe7\xedCH\x19F\xa3\n24\x0f\x1d\xb1Y\xef\xf0\xfdZ\t\x15H\xca\xe4\ba\xfd<\x107\xb40/6\xb4\x95\xe9R\xec\xb1k\x86\x02\x0eM\xcfN)\x12\x14\xda\x01\xcb\xf7\xee\xfc-\xc15#\x88\x05\x19\x89\xef\xc8\xfcʕ\x14\x1e7\xff\x82\xf2U+\x15\xd5F\xf2\xea\xbf8\t(\x0e\xb7\b\x9aM\xa7V\xb2\xf7$_\xc8\xf3\x13\xbbm\x96\t\x8a\x01\xfdp\xd2\x00W%\xb9\x8f\xfe0\x10\xd7\u007ft\xf6\x11YځW\x05XP\x14M\xf5|g#PS\xf5\xc1f=\x98\xe6\\4\xa7x+)w\xa1\xe4s\xcfv\x91 \x99\x8f\x950\x9a\x82\v\xc6\xea\xda\x02\x03\x97\x17\xaa\x18x\"\x85\x8c\xe2\xab~\x00\xfbSaH\x88s\xe2{\r\xce\a\xd0u\xceۂ\xfd\x00-\xd5\r\xa0N?s\x16\x9eH\x89\v#\x04\xb8\xf5\x90\xf1\xcd\xec\x1d\x1bm٪Õz\xb2\xf2â\xc7v\xec\xaa)\xd72X\xd5\xf2d_\xb0\x1c\x93vfƵ\a4\x99MA#\xe5\x1b\xc7mF\x8d\xf2\x9f\xe4@L\xd73&0]f\xe6\xa2\xdc\x1a9\x177\x02\x94\x83\xbc\xfbڎ`\x9d\xfb9:\xb4\xb3(\x02F\xdeK\xec\xb8\xfbԔ\xaa?+R\xaa\xa6\xfe+V\xeb\xcd\x12\xb22G^q\x88<\xd3-\x9b\xf3\xd1x\x8c\xab\x9dV\xdfkd\x9bw`)\xe6\x8a%S\x18\xa6\x87Cp\x91\xa0\x80\xef\n\xa4{D\x9e#\xab\xcfɱ\x8d\xa2\xcb\xf7\x1b\u007f\xa5\x8cc\x9e\xf6E\xd7\xf1\xec\xd9g}\xb1\x1ap\x18\xdaս\u07bfR\x97\x8e\x9fp\xd4\xf5\xa1\xcd|_z\xeaM\a\xa4\x93t\x02p\x8c}8\xb2\\\xf9\tz\x8f\x9c\xa7\xec\xc2F\xcca\xa5\xd7\x10\xc0\xab\xd9H\xfb\"\xb9\x86\x03L%\x8aZ\xc8^\xcbv\x94\f\xd1\xe3I\xc8k\x1c-\xf6\x83\x05\xe1\x83L\x82\x15m\xec\xcc@\xe9\x19\xf8\x884\u007f\x94\x89\x0f\xb0'&\xaev\xfcf,\xe4w\x18\a*\xcd\x10\t\xd3\xfa\xd5g\x93\x96\xdd\xddBr\x9dW\x80\xdff=\xeb\x8f\x15\x1e\xfe\u058cG+4\x83\xe5\x8c$n&\"K\xce\xfe\xb1\xd9e\xb3\xf37g\x03\x1e\xd31\x00\x1bSr\xf5\x9a\x10\xceP\x18\xf5\x12\x12]\xddÑS\xc1\x97ʤ\xf0\xf2o\xda\x06\xe2>\xd5\x17O`dJ\xc0\x9e\xf2\xea䇑t\x11\xbf\xde \u007fFr\xbb|\xa8\xbd\x1b\xb9O\x01\xf4\u007f\xfe\xea\x85@\xf8\xd1\xfa\xc5`\t\xa4\x00qr\x14\xe5\xe3\xa2U\xfc\x9a5\xab\xbcd\xe4\x82OD\xd1.\x01\x92#\xb5.\xea>\xc8\xe3os\a\xd2t\xbb\t\r\xd2?ܩ\xc5\f\xce\xed0\xc38\xea\xf3\xa8@E\xed\x9b\xf9\x05\vu\xa9\xf9\x1457\xa8}\xf8\xf3\xf5\x05\xe7riԭ\x8b\xbcы\xde\xf2m\xdc\xe8\xdc\xfd\xf9\xe23\xf9BKA\x8fuзz\xfe\x8c\x04\xbd\x1a\xc5\xc78\xf8\x1a\x93\xb8f\xd2\xcc\xfb\xfc\x8fD\xc5_\xed\xc7\x18\x8fxd\x18\x1e\xde3\xd0\x17I\x80\xd6\xd2\r\xf27\x80\xc2M~\xeb\x10]\u007f\x0f\xf2\xd1\xf2\xb40}\xb7D/\xfc\x13\xd2R\x01\xf8\xf2\xa4\xcfK_\xef\xd8]\xf9\xb8CZ\x1fT\x858c\x84\xc2\xdc\u007f\x1e\xaa\xa2!\x0e\xf4O\x81\xae\xa3\xef5{5\xceN\xd0$\x93\xc1\x8d)\xfc\x8a\x13\x1d\x05r\x87\"rA/ú\xafli\x8cG\xd1;\xe3\xb1,\xacىB\u007f\xb2\x13jQ\xe9Ӭ\xbd\xe1\xd5\xc57\n\x1d\xbb\x0e\xb8ؐ\xbb\xf0ڠYB\xfaot\b8\xefӃ\xbfL\xfcd\x12\x1ccӆ\x1e\xfe\xc9\xd4@\x9a:\xaf\xc5A\xa7\x14.\x06\xafs\xac\x112\xaau@\x94\xee\xe4uȇ\x93w\x15\xc9\xf4\x05\xd0sLs}\xc0ܪu\x94&$\xda\xf8w\xa6\xeb\x8e|G\x12\xdeۚ\xa2nuw\xd6\xc1\xb9\xe7\x87\xdf\x1f\xe2!\x1e\f\xf0YY\x99\x01\xbe\x06'\tZ\x95͎>rs:\x00\x93\xd6\x1a\xc86\xcd\xed榰\xb56UjP,m\v\x01\xfd\x87R\xb0\x8d\x01\xe9\x1e\xa6\xfenEYn\xd9Ԓ\xc3&{@\x02Ͷ\x15\xc6W\xfb\x03w\xed\x06{2o\xc6\xc5L@\x1b\x9d\xd1݀\xd9\xd5\xdbr\xfc/#\xc4\x03\xbd1\xado\x05\xb6>`\x9fM\xa2|\xf9ӡ\xa3\x04~\v\x1cÌ\xa1~\xa3ţ)\x01\x8d9vz\xc0r\x90\xa4\x9b\x94\xaf\xf7\xcc\t\x01\xe9\x1f\xc3\xfcƔ\xc3h4\xca\xf2\x86J\nh\x02d\x17\xd3j|\xbb\xaaa\xea\x13\xbd\xdb\x01.\x80@\xa6z\x15iUb|\xda֠=\xd9(\xc6D\xa2L\xea\x17R\xde\x02\x96\x90[\xec\x06\f\xeb\xb3\xfa\x89\x831\xa1s\xe3o x\x10\x12!Xx\xabw\xa0\x1bDQ\xfc\f/NwJ\xb5\xc9\xe5\xe4O\xee\x15ҁS\xbd\xee\x14\x1b\xb3\x91\xe2\x1a\xf4\xdaz\xac\x92H\xf6\xe57\x81\xf6fU\xed\"\x1b\xb0yo\xbb\xe8HY\xb4\xb5\x85\x1a\xd2-\xbb\xdb\f\x98\xbd\x88fvR\xe8\x10\xa2\xfcण8\xe2\xf0\xe6h\a\xc3,l\xe6\xecϮm_\x83\xd1\xcenV\xc6H\x1d\x1d\xd7\xfd)\xc0!\xa6B/\xfc\x84\x92\xa1%M\x87\xf8\xcd\xff\x83\xc6C],j\x8e\xb1\xa1:\xa2Y\xfc\x8eR\x9a\x8f\x17\x96TД\xf1\xba\x15\x87\x06Ԟ\xcf[Yr\x88\x82yzwI|(4K\rR\xf3\x93TK\xb3\xcc\xc9[}\x11\xa0\xa9X\x1c\xca\xf6\x9an;e\x8d\xae\x19J\x92\x97\xe5V\x0e\x89|\x12ؽ\xf3C\x16\x14\xab\x92\x8b\x05{q;;\xb8\xc6\x16ī\xe2\x16K\xfda\r\x18\xc4o\x9c\xd3\"\xa7d\x05\xd1H\x01\x06Ë\xfc_ae\u07b8\x86\xda\xd2qnO\x1e\x8f\x94\xfe#G\xa6*\x05\x83\x9c\a5/d\xfa\xa0Ē7\xca\v\xa1\xa7;m+\xf4\x8bh\xb1]g&\xba\xbcS,K\x84\xf2\xbf-\ts\xd7J\x91\t&\x8bN\x8c\xaf\x92MM]\xefͪ\xf4I&\xfbn\xd3Lcy\xdb\"s\xban\xaaCz\x8d\xda\xd8^\xaf\xddSMlxi:\xd70\xdd\xf2\xc1\x88)\x8f\xc6\xfc\x8a#\x16\xfc\x10\x05T\xe6:1\xa3K;/\xcaЦ\r\x86\xb4=\xb4\xbd4S\xc4\xd5\xe4\x93\uea50\xcd\xe1\xa4\xdd^I\x19\xddZ\xb5\xf5\xe7\x18\x97\xe1M\xff\x0f\x1aUjs\xd6\x19M.N~gDg\xdaX\xe6\xdf2ɇ\xe2\x89iC\xe0\xc2\xd7Ҁ\x8avt\xb4\xfeP\rܱz\x9b\x9e\xaa\x85\x15\x94\xa7m \x91\x90؍S\x0e\x0fi\x84\x1c\x00\x1d6\xf7^\xe1\u007f\x01\x0e//\xb9\x18h\xc9\x12\xffy\x18\xf9w\xe8\x120`\x18\xe5\xd2\xf5{\xf1\x89Jz#B;?Ѩ\xe4\xa4\xde\xc2\x01\u0604\x10ȍ\x87\x02W\\\xbb\xf3\xe4\xcb\xfe\xffui\x06\xd4\x17\xcd\xcaRoň̄\x90w(\x98\xb5\x82\x81A\xf3\x99\xe6m8]\xb8tg#r\x9d_\x9a\x1d\xf7\x96\xe2\xc7T\xfe;MJ\x0e+Nto\x8dG\xbd\x1b\xcaf\x9bL\xe0@\xbf\x8d\xedU\xea\xb8抣\x83\xe4SE_\xd6\xf0\xe33\x8b7\x8bVk\x1bW`U@\xcd?06\xcbB\xcc\xe9\xd9\xf465)\r隀\xc1\x87\x00E\bq\x1duo\x92\xf4&1\xf0\xc1m\x9d\x82\xe8$\x1f\xd1\xcbD\x86^\xcc\xd2$Z\xbeŚ\xf0\xee\x89(\xa9\x06N\xce\xf4yv)\xfd\x84\a\x16۔\x80\xd2\x05\xb8E\"\x83)\xf1ύ\x90 \x85\xd5J\a\xcc\v\x16\xdc9\xb5\xed\xdc:.\xf1nB\xbc\u007fPFڴ\x00\xf19yO\b\xc6;O\xd7|\xd1߶\x13b\xa6\xba\x1evhI\xc3R\xf3\x95\x1faUo\b\n---------- end of script output" -time="2024-01-06T23:36:31Z" level=info msg="statescript: ArtifactInstall_Enter_66 requested a retry" -time="2024-01-06T23:36:34Z" level=info msg="statescript: ArtifactInstall_Enter_66 requested a retry" -time="2024-01-06T23:36:36Z" level=error msg="statescript: Ignoring error executing 'ArtifactInstall_Enter_66': 21: exit status 21" -time="2024-01-06T23:36:37Z" level=info msg="statescript: ArtifactInstall_Enter_67 requested a retry" -time="2024-01-06T23:36:39Z" level=error msg="statescript: Got an error when trying to execute [ArtifactInstall:Enter] script, but ignoreError is set to true, so continuing. Full error message: statescript: The version read from the version file in the statescript directory does not match the versions supported by the client, please make sure the file is present and formatted correctly (supported: [-1]; actual: 2)." ---- PASS: TestExecutor (10.70s) +time="2025-02-08T06:05:52Z" level=error msg="statescript: Ignoring script '/tmp/rootfs_scripts337018825/Download_Enter_00' being not executable" +time="2025-02-08T06:05:52Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " +time="2025-02-08T06:05:52Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " +time="2025-02-08T06:05:52Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " +time="2025-02-08T06:05:52Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " +time="2025-02-08T06:05:52Z" level=error msg="statescript: Ignoring error executing 'ArtifactInstall_Leave_02': 1: exit status 1" +time="2025-02-08T06:05:52Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " +time="2025-02-08T06:05:52Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave_100' will not be run " +time="2025-02-08T06:05:52Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " +time="2025-02-08T06:05:52Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave_100' will not be run " +time="2025-02-08T06:05:52Z" level=info msg="Collected output (stderr) while running script /tmp/art_scripts007575442/ArtifactInstall_Leave_00\nerror data\n\n---------- end of script output" +time="2025-02-08T06:05:52Z" level=info msg="Collected output (stderr) while running script /tmp/art_scripts007575442/ArtifactInstall_Leave_11 (Truncated to 10KB)\n.cɁ\xbf\x92\x14\xbf\xa98\xf2m\xa2\x890\x1eo\x94\xf1\x0f\x17v\xf9\xady\x80\xb4$[\xb8;\xd4}ęo\xf4\xf2q\x06\v|C\xd1\x06u@\xc3\xe5P\xe3\x92Q\x9f\x99\xb9c`\x17\r\xe7\x16\x1bm\xdf^\xfd\x83\xb7uZ\x99\tp\a\xa3\xc0\x0e\x95\xb1|\x94\x85\xe8\xe4\x17A<3\xb7\xa2\xb5\xab\x8a\xfa\xb2Y\xb7.\xf5X\xbc6aԧ=\x8b\xbe\x1d\xa6\x95\x83yb\xc1\xf2\x19\x12\x89\xca\x17\xd2\xf6\xac6\x17\xde\xdfQ\xd4pL\x11\xe2\xb8'.%\x05\xbeY \xeeğ\xe4\x00q\x9c\x1c\x88ʡ\xbb]4\xe4\x92\xf0\xad)\xa06\x04\x89{\"ԟ\xcd+\x19]i\xa8\xab\x13i\xcd5|\x94\x17\xc0\xc6ߛb<\xcdO\xa6\xc6?\x03Hz\xca\f\xcap\x01KZ좉x\xc4\x13bm$\x8e\xed\x84\x17\xcdFr\xe6\x03\xbap\xdd\x01\xf4㨚\n\xcfs\x11.H1f\xce\xe2\x119\xfd(gݰ\xeevK{\xceO\x8c[1\ba\xbb\xde\xf97\x00\xae~\x9b2Pv@\xa5# \x93\xec\xd8^U\x9fs%0\xee\x8d[\xb3\xe7\x01ԁ\x0e\xf4\x9fn\xffj\x921\x00\xeac\xd5v}\x1bĭ\xd3e\xb0qߋWk\xfam\xeb\xc6\x01\xc0\xaf*\xcf\xe8`b\x84\xfa\x12r0\x83\xeeI'i\xa8F.\xa0\a\xc4\x00\xeb\x85\f\xbfJ\xe2\xb5\xc9\x03\xb6u\xe7!>\x02\x8f\xec\xe06\x89\xf6\xfb\xdf5\xe2A\xf3\xf2\x82\xa0\xe9\f\xf9\x8e\x92\xbb\xa1\xb6K*\xf8\xf2\x18a\xb2\x1b\xa1\xf11\x05\xe5\xed\xa7\x1b\r\x82[\"E55\xfd\x06Z\xf5H\xe84\x90.>t\xb6\xb2Y\x88\xb6\xddY\xb8\xe7\xb3\x1a@^\xa2\x9c\xe0\xaf\xdf7\x1eT\"Os\x96?\x1a\v\xcb\b\x10\xa9\x17Q\u007f\xb7\x12m$2\xcb;I\x87\x16n\xddpfϻ\xfd\x8a_m\xa5\xba\xeeCΓ\x9aE\xc0e\xb4\x11.\xd3\xe2\t\xcd\xc5\x11\xd8jhu\xc0\xf67\a\xea\xb2fȸ,\xe9\x89\xc53*#\xa1M\x15E\x82\xd0Ӿ\x1b\xb8\xfcd\x96U\xa7a\x9c\xb2\x85\a@\x90\xd5\xc7Ө\xf7\x0f\xe7F\xac\xb9\xad\x12\x95|v\xbf]\xc4p\xb6\xad\xb5iS\xe3\x18\xfa\x14\xb3\x0f\xf7ΐ\xbf\x1a⡒\x81֟\xe6\x14\x11D\x94\x96*\x87\xda\t^A\x8c!E \ue841\x05j\xebu\xad\xa7$\xe9m\x81\x13\xa5\xbd\xefIB\x9aU\f\x96\xfd\xb7\xfd\xe7\x12\xbf|\xb6\xb73\xe7n\x05\x83\xf7JBN\xbe\xb9\x05v\xf8\x19\xcb\r\x02\x8f\x1fޙ\v\\X.\xe3Zҝ+\xc0\xc3\xdbq\xba\xf5\xff_q\xed\xa2\xbd\u05ec\x1b\x84\xf0\x1d\t\xbb\xa6ŰHM\xce5⡐KYY7|\x88\x1f$O\xc8}wC\x88\x03/\xbfCן\xb5Q\n\x05\x9f\x88;\xc2]\x8c\r2;\xce\xcb\xd0!꼅G\x9e'\xad\xf0tu\xa5\x9bg:\xa7q\xbd\xcb\\\a\x11\x15ҕ\xecc\xe3\x862o\xd0X.\x14\xff\xb2\xea\x8eI\xe0s\xb7k\x90\xd021\xa4:#\xcfM7\xb5\xff!3\xd1m\xad\xad\xa3}֛\xda>\xe1\xd1\x10\xe5\xa2\xd0I\xd7\xebj\x1ea\xb9P\xe6.\x15V_\xbc\a\xc5`_a)B\xdcSX:M,@9\xc6\xeb;|\xddY\xe8\x8ee\x8c\xaa\xcd,\xc35d\xe1\n\\\\\xe8j˗\\\x10Y\xe3\xf9Do\xb3\xfaD\x11\xf4_\xb48~p\xe6뛍\x89\x8b\x1cܓ>\a\xeb\x94\xc5!\x9d+Z\xd28#D<:$^\xcf\r!]]\x00\xa4w\xbd\xd57\x00\xed\xc9kw\x10R\xaa\xadN\xf7\x90\x80\xf7q\x1c\xc0C\x82 q\xce$x@\xf3\u05cd\xc5S\x8aW7\x15E\x1ak\x02\x1a\xd54\x86#\xa1y\b1P\x90\xfa\xd1kk\xf4\xc5\xf6lRI\xd1x\xfd\x12\xc3\xe7\xda6\xcb\xf4\xd6\x1c\xa8\x1a\xd9\xedg\xbdr\xa4\xbe%\xe7\xcb\xe3\x9f\x19(`\x80\x96\xad\xfd\xea\x0fC-\xb2\xf2\xe38\n1\xf6aO]<\xa4c\xad\x04ie\xe1\x8cp\x00\xd7x\xaf\xcep\x01`!4\x18\x84\xfd31\x9f\x88\x9e\n1\xb8\x95}\"\xfe@\xe9\u007f\bd\x0fN\x12\x97\xd0\xc76\x8d~_\xfa\x02\x0f\x15\x19XCv\U000dd626D\x81\xc0\xfc\xae\xb3О\x9d\xb7X\x8a@}j\x90\xc4]\xac#\x86\xd9\x02\xef\xad@\x0f\x03A\xa4=tx\xa0\xddr\xafR\xe4ø\x9bQ\xe2-\xfa\xa3\x8d0\xbe\x91\xa4\xe2\v\xe02\x814\xe1\xf3\x06`\xfa\x96\x1d\xab\x9em\xaa-\x16u\x8fI%\x99\xd0C1L\xe6\xda\xfb'T\ao\x9b\xbc\x1aL\x9f7\xa6:\x00b\x80'\xbf\xfe\xcf\x18C\x02\"\x84\x01omԉ;\xcc\xec\xbfM\xeaJ\x82\xd1ܘ\x93\xd3\xe0\x06\xfa\x9fJ\xb6\x14\xb7\xe7\xa1\xfc\xbb#UM\u007fh\x85N\x99\x8dN\r\x19Q6H\x17\x02\x05\xc1\x15\xd1\a\xa59YO\x15\x1b\x8e,\xa8r\xda\f\x88L\xbb\x8f\xdd\xd0\xc9\x01\x8eX\a#\x05\xd8jԓ\xa9\xc7\x12Z?6\xec\xa7\xcbL\xaewd\xf1\xabj\x9a\xa1_\xd6\xcf>\x1b\x0e\xb4\x83nvwX7\xa5\x1bg\xc9JF\x03\xdd\x05P\x90\xd2=d\x11\xd0=0⪿\x10\xfabL\xbf\xe5\xd5Mn\xb9t\x855c'\xca&\x9b\x06\xc0\xabe\xbb<\xfbF\x8e\x99\xd1I\x0eer\xfe\v\x97\xfd\xaan\xcaY\xf5:\xd3\xe4+\xe6\xa0Ο@\xfe\x91\x8cB\x12\xbf0\xef\x03\x99^\xf9\xf9\x85+|\xd0\"\xde;\xaeq\xd4º\xa5s\xbcYW\xa3OԞx\xbb\x01J\xf9_dž3\x1b9g\xbc7bF\xa8)\xbao+ݖ\vs\x9a\xe8\x97\xedT\xfb\xa7\x0fn\tfP\xde#\xcdTG\x01\x85\xa2B\xd2ny\xd7Z\xd2Ҹ\x84\xae\xad\x19\xdd\xe2\a\xb1\x02\xa5d+'m\x19\xb3_!\xe85\xa7&\xfa\"\xba\x0e\xcfp\x1c}D\x9a\xe0\x15\xe3\xfe1Eq\xd7A\x0e\xf9X\xd6\xf23$q*o\xa1|C\xa0GR^\xdc\xde7:/*\xfctYx\xbe\xd7*\xac'4\x98w\x9e!-\x06\x94z\xf2\xa8\xf3\x05\xbc\xd3\x1fL\xdcE\xf3U\xeb_!~`g\xf4\x8b\x0fGz\xed\xddZ\xac\x9fo%\xa6:\x92+\xbd\xdd{\x80E\xc7~2\xe8\xa3\xfe##i\xe3\x8a\xe3\r*\x9e)mҫ&\xb0\xdb\xe5\x9dG;^\xfeц\xc7\xfd\x8b\xb2\x03$\xbf\xac~\x93k~\xf9\xd9\x0fW|Li.Xf\x87\xdf\xeb\x9f\xd7\xe4{}\xddA\xc1\xf10\x0f\xa6\xe8\xc9N\x1c\xfb\xe4\xf6uU\x92ku\x90\x10\xe4\xf5Vr[\x95\xb9Y\xd2\xe1\xa3\x1cjO\x84\xae\x98\xf8\xf6\x89\xf0Α\x16{\xbc\xc3\xce\x06G\x83\x1f쌴\xb8>MBrX[ߛ\xec\ueb4a\xbb\x1c\xce4\xee\x99\b\xe1H\xe1\x042g\x91,n\xb8\xb6MMY\xc2\x02\x96o:;\x84\xc01\x8b01\x90\x81\nS/''\xd2杣-\xdf\xcd\xdb\u007f啚\x19\xc2\b\xa9\vTޮ\x86\xbe\x83\x95v\xdcf\x1c\xd3(\al\xbc_U6\x0fP\xad\x0fЌ\xef\xd1D\x03\xd5\xfdh\xfc\xa2wZsH\x9a\x8b\xf4\xc86\x98\x12\"\xa5\xef\x84!\x91\x9a?\xff\xb9b\xed\xb2&\xbd\x99\x10\x93\xa6\xad \xa6\x19˵~\x03\x1aQ\xeby\x9b\n\x82\xfb\x9c\x86\a\xb2\xa5}\xe9n8\xf7a\xb0\xc1\x8dG\xe1\xe8Am\xe4`\x06\xacU'\xdf\x1d\xf7O\x83\xbf\x03\xa6Xu\xe7\xac\xc7w&\x05x\x8b\xd4`\xdaI\xecF\x1f\xd6j\xf6*\xf7\x05\x15\x83\xbd|Gئ\x15\x9f;\x13\xf6\x88\xc5Q\x8bM`\xbf\xac\x1d\x1a1y\x04\x8c\u0085\xd9\x14@䶕?\x9bt\x99,\xff2\xfe\xe5䂼\x92P\x89\xcb4\xdbv\xd5Zu\xd9\xe1\xe0i\xe1\x89ѧ\x81\x89\xd1\xfe'\xa8\x94\xf0}ؼ\f痐Vk3\x94\xae\x9a\xdb%\xff~\xd9\xcc\xf5\xaa\xe8\xec\xd6\xf7\x96*\xe0\xfb\x82\x84\x97\xd40\x10H\xbe'\x82\v\u007f\x0f]\x82\xa9({\x8b\x84d\x8dO\vg\xa6\v\"?\xf1\xa8\x9b\xd1\xc1\xf4EK\xed\x80\xe1悛I\xd5ʃ\xaa\x83\x83:M\xa5<\xfd2;O\xae;\x9f\xaf\x13\xbf4\xfcB+\xc1\xad\xa0R\xe2\x82/5\x81<;\xb7\x86\x1e\xa1\xae\xb5\xbd\x80\x1a\xb2l\x1ar\xa5a\xd9p\xe2kU\x16B\xf4tTr\xa2\xce^7%_\x92,\x93\x8aZ\xe0\xea\x8f\xf0\x01\xba;\x991\x80\xb5'\n\xac\xbf\xeabP&S1^\f\xba\xe9\x99rHMq\xc0&\xaeQWw~$.\x0f\xef\xef\x02\xb9\x99y\xbe\x93\x81&\xbe\x1e>\x1b\x11\xc8\xc9=\xd1[\xe3\x8dx\v\xab\x84\x83\xa1\xfc\xd9v\xaf\x11\x95vpɝ\x83B\xdd\xd0Щ\xa4\xfe!&ij1\x8b\x14\xe6\x10!Z\a\xa8\xd24\x06?\x96WpR9'|\xdd2\xc6\xfc\x00.\x90H%~\xf0l&\xd5\xdb[`F\xbdZkC\x91\xd9=<2\x10\x87-\xb3.v\xa1I\x98BHZ\xa1\x11\xea\x18\xaf\x1f{V.*\x1d\x0e\xc2d\xbb#˸\xc3YZsſ\xe1!_\x97\x98\x02\x88\xcb\xe5\\o\xdb<\xb6i^:\xab\u007fA\x93.\xc2rV\vGT*\"x\x81\xc0\xd3w\x9f'\xcb|\f\x80\u0095\tv\x94\xfc\xd7:A\xf5\xd2\x19\xde-\xa02\xf9a\x01/YS\x11;B̀\xd7\xddb\xab`\xf9\x00]\xe8\xec\xb2\xee\\\x9dή ֎མ\r\xbd\xd6ABc\xa6\xb2\r0\xa8\xc2\xfcR\x0fQ\xe7\xe2\xcfR\xf9\x93\xceN\x15\xa4\xeb_\xbeP\x1d\xdb϶}qw\x12Y\x1e\x12\xf5b\xa4\xf89\x12h\xb0@\xdc\x017[\x1a\x11\xd2\a\xc4\xca\x18\xf5J3(\xff\xb2\xe5C\x80\f\a`嚉\x02\xd1=7\x1eU.\b\xb1\xee4\x108\x91\xc2W\x82\xed\xb9\\<\xb5\xd9^\x00=S\xad\x8d|槏s\xf9\xfe{'\xed\xbfD\xc0\x84S\xf9g\xd2-\xfcS:9\xaf\xccҳm\x14\xdcjݯ(Ç\x19*X\x8f\x17\xed\xb6\x8fщl\xbf\xf8\xcbR!\xd0I\x89\xe7&\v\xe6\x998wۋ\t\x99)68å\xa9\xab\xadP\xa1\bcx\x855n\xb1\xcc~\xed\xb7\n\xbc\x17r_$\x85/\x03'\v\xcc\xe7c\xf5f\x116\xb4\xa6\x03DP\xbd\xba\xacx\x89\xaa\xcfY\x8d\xd9\bC\xf3\xcc\xffI\"\x92y\xc7U\x17|t\r\u007f8\x83\xeb\x9d8xWL\x19&\xf8\xa6\n\x05\xd9Ч\xc8t\xdd\"5BH\x9c\xe5\xf8\x80\xbc\xf3\x9f\x11K\x82C;\x9c\x9d\xe9\xe0\xfa\xb0%\xf9\xad\x06\x03\x1a\xbc\xf5;\xa7\xa7\x82\xef\x1f\xf34\xfe\b\xde\x0eWltګ\xa4$a\x14@\b\xfb\xb1\xf5\xd6M\x05/u;z\xb2\x0e\xb7\xb4J\f\xcch\xdd\xf7\xc5GI\xae\u0097\xbbu\xee\xfc\x8a\x95\xe2\xa5P\xff\xdad\xad\xac'q\xa6\xe3\xed\x94\xd0a\x1e\x12\xe2\xa8\x13Jojb<\xed\xaf\xa7\x1e҆\x12\x05\xc5\x10H\xb7\x10\xf0c\x93\xce\xe0\xc3\xe5_z\xeb}\xf0\xaf\x03\xff\v\xcfƾ\x18L3\xe2\x02\xfd\x99\xae\xf9k\xcc>p\xa7\xa8C\xe4\xfb\xf9\xea\x9b\xdbW\u007f\xbefo\xa42\xa8꯱p\xd8e{\x82)N\x94\xc7\xed$\x05\xdca\xadZ\x82ɀ_0\x13\x1e\xea\xbf/C\xf7h\xa2\xba 0\xf4Uܨ\x8cP\xb6XC\xee\x84\xfe\x83±\x85\xf4g\xa1\xd0R\x94\xd9]\xee\x8f\x16\x1bD\xf7'\x96\xe7G;_\xd7iCi\u007f\xe8o\xf1:\x8b\xac\x81ŀBK\xe5st\xf5\u007f\x87\xf5I\xbc\xcfT;z\x1e\xb8\x92\xcf`x0\"*\xcbT\x84\xd0\u007f\xc9\xc5v\x19\x0e\xa3QH\xf6>m\x1aLJ4\xfd\x9e/2\x87\x0f\xefE[v\x02\x97R\x94\xd9:&\x86\x0e\xa0\x81\xf8&\xe8&\x85\x15\xadB*߃\xe5Mi\x88\x8ei\xf4\xd7\xf9$\x81\xe5\x8b\xfeV\xa8\x93\xc5.D\x8eW\x12N\xbf\xefSCc\xf3\xd8Z\xfa\xefk\xaf\x03\x1a6\b\xa5\xa0{0\xc1\xe3Dt\x95\xba2\x1d\xbe&GxH\x1b\xb9\xbc\xec\x02n\x8b|\x84@>,8\x01x\xc3\x11\xddxc\x8d\xc7q\x8cA\u007f\x91\xb0\xaa\x91\xf4t\xb5\vi\x9e¨K\xc9*\xce]\xed\xe7j\x16W\xc5E\xab\x98!\x99\x91ȭ߂\x8e\xf7\xf5\x8b\xef\x00\x16\xad\xfd\xbb1\x9f\xdev$\xd0\x14\x95a\xdb!S6\xac\xaaZ\xafSؒ<\xbb\x8d\xfc\x86-\x82\xe9a?\x801\x88qشQ^\x13\xb1\xf8\x9f\b\xa1\x11S\xc1EQ[\b\xed 7Ş4;\x8d\xfc\xadE\xb6\xfa6T\x03\xf0\x99B\xfb)\xd4m\x03\xee\x92\x12\x81δ\x9f\"\x8b.\x9b\xb6j\x9f\xed|Gp\xc4|[a\xaaSf5\xb7\xe1c\xe0\xd3й\xceb\xf7\x1cֵ=\xbc1@\x1du\xb9A\x9c\xc5\xfc\xd3\x1f\xc5ø\r̺)\xac\x80Gܒ\xe3\xe7\xe2\xd5\xc3nfM\x06\x19\x80\x8f)\xa4k\xe7I)\x82\x01C\x9d\xda\x02B\xbc\x01\x9e\x9b\xf7\xf0\vc%3\x18\xa2K\x9c\xe0|\xf64O\xe0߷\xbe\xb2\xff\xaa\x15\xeer\xa1\x95\x99rhM?l\x18\x18\xd3!\x13\b,f˚\xe6\xd6j1\x96\xb7\xf1\xaac:J*\xb4k\xec\xb1ɑ\xa4\xc62\xc9\x1a,\x9f\xfdD{\x15n;\xe2t*?ƐYWE\b\xb0\xac\x8b\x8f6\xfb\xb9\xd0\xf4͎\xb6\x1a\xaa\x98\x8b#\xf1\xec\x13\xa9\x04\xe6\x13hD\x9bCz\xcc{\x94t4?\x99\x86\nF\a\x84\xc3\xfb\xc6z셷\xb9]\xf9\xf9<\x80\x05'3q\x89\xe7\xb0\xc6855\x82\x99\x01\xb5_ǑK0\x98\xf6\xa8\xcd9\xdf\v=l\x9f\x88I\xf3,\xf0\xc8\x1c\x9a\xbf\x12\xc73\x06AzE\xa3\u007f;F\xfd\x9c\x1f\x1c\xd3\xdb\x12\x92\xc5Z\x04\x15uY0\xef\xd0\xc3(U\x1d\xf8\x8b\"\xdf\r\x9d{\xbe^\x92Y\xd1\xc0\xack\x96\x8a%\xbf\x14\xa8\xbf\x03\xd7\xf9&\x94\x1d\xb0\xf8I\xf8\xabF\x98\x04#pw۪\xf2\x8e%\xafk\x03\xe0\xfd\xa4\xec<\xdfQ\xdeG\xa1:+9յ\xb36\x81\xb7RRv\x11{\xf4g\xb1\x13?y\x8b\xfe\x86\xeb\xd3>*\x90\x10B\xe95\x18\xa7ߖ\xff\xae\x17\x0fqÄ\x8e\ar'ꦅ;Ҵk\x99\x00\xa3Ѱ5\x9d\f+\xf8\xc6p<\xb1\x9dm`\xc8}}i]=]Ο\x8dc\x84\x14\x1e\xfa_q\u007f\r\x13,\x99\xb1\x0f\x05x\xdc, 5\xebЀ\xde\x04\xb4\xa9\x96\x9bV\xb0\xa0K\xd2\xea\xc0\x9a\xd6nI\xa6\xd2O%\xee\x8b\xe9\x1b\xed\xa0ʲ\x05\xb3Ωb\xcc\xca\xcc?\xa7\u007fB\x91,S\x9b\x85\xf5*\x04EV\xd39\xa5J\xfaf@\xbf>el\x93~\xb1\x1d\v\x90\f\xc7\xe1Z\xacd\xa1\xd7\xf7\xeaJ\xb3OC\x10\x98ftl\x02\xfc\xff\x99\xec\xae\x1eM\xe2R\xceL\x89\x9d\xd9\u0093\a\xcdpfS\xd8w\x89z\xb3\xe6\x12\x9a\xc6A;K7\x97ܒS\xc4u\x14\x814\xf7o\xac\xb6\xf2\x97\xa5\x10\u007fa\x9fb\x97Y\xdc#\xdf\xf9\xb0\x19\x1b\xc2\x12C\x0fOڥ\x06\xa12\xf8\\Z\x19\x1fw\x83Ј\x16\xffR\x01&\xc85\x11%\xc9]nK\xa1[/\x9a\xc8\xd1q9\x1d\x92\x9c\xbb[\xc5\xce\\\x80\xff\xac՞]\xa5\\\x17:\xcdc\x97ʇi~>g\\\xa6\xf4\xb2\x11\x87\x99.\xc3\xe1\xe0\x86+̃\xc0\xe8\xd9\xff\xf2\xc1]\x9e\xd7'U\xe9v\xc8ALV\xb7iU\xa2\xeb\x8b\x14J\xdby\xc1\xd6\xcd僔\x12\xebV\x91+'\x9fHҫ\a;\x85z\x86\x13\xc8\xe8\u007f0\x99\x0f\x04\x86\x82\u007f(GБq\xc8]\xa4\xf6\xdc\xe6\xf7\u007f\xf0\xff\x1f\x8dM3$Ǵ\xbfק\xfc#\xe3kk/d\xdeB\xb8~\xd7I\x9e\xf4A\x84\"\x8d\x80\xdc\x0f\x17\x95\x1bo\xc0\xe4\xba C\xe8\x1c\xaa\xa6\xa3L\xef\x054Cɕm\xb3B\xc7\x88\xec\xabՓ\xd6u\xcb\xcf\xdeH\xa7 _\xc5ض\xbd\xa3\b-}\x19a\x1a\xb66\xbeQCЍ\xe3\xfat\xf5\x15\x92t\x17\xfc\x8b\xf0D\xa2\x88\xef\x1d\xa8\xe5\xda>C\x80JS@G\x13r|@\xe4~\xa1\xb2\xedZBC\x99@\xf8\x04Es5\xa3\xde\xf1e\xe8\xf3^W\xdc\xfe\vC\x8a\xcfB\x81\x00?\xa1\x00\xa2\x8bW\xe3%\xbb\xd2gw\x8d\xbf\xaf\xf0\x9f+e\v\x98a\x8c\xc3\x0e\xc1\xc4\vs\xef\xa6\f\x88W\xdf\xd6\xd6%V;\xe9I\x96\x9d\x06\xf3\x02l?\x94\xd5\x1a\xaeO\"NS5\xfc?\xd0\xf1UΈ\xd6\x10R\x9b\xcap\x0eu\xfaֲh\xe5ݗ\xa3\x06p\x9c\x93\x15\x98\x06C}\xf2\xe3\x8f'G\xd2+-\xb1\xba\x92\x81\xd1\xcan\xe1\x02D/\x9a\x86b\xb4\xfa\xae\x90\xa6\xf8M5\xf3\xa5\xbeּ\xa4\xa6\x17D\xbf\x00\xed!\xd6\n6{+\x05fC\xf3h\x9a\xab:\x85-BcZ>\xadR\xbb\xe7\x991x\x9a\x90\x93\x18\x1e\b\xa6|\xdc\x04Tޘ.\xc1\xa9\x03\xfd\xd8m\xe6c\xab_\xb5\x1c\xef\x06u\xb7]\xddj\xbe\x14\x1a؏\xef\xb7\x01h\xeeG}{\\̸U\xea\xdf\x10\x1bOL\xd9\xd6\xceA\xc9\xd9\xc0\x0f\"\xbd<\xf5\x0fJw'\xb5V;8^\xe3|\x15\x8c\xbe-\x00U\xa5\x81\x8f\xc42\xa1\x8c[\x00\x8c\xd9͂6O;=z\xdb\xfd\x8d\xaeZ=\xd96\x90!\xa1\x11Hx\x00\xbd\xc4\xc0\xb7\x10\xd4\xe7K\x87ɲ\xd5R\x9a\"I\xabGH\xa07\xc7\x1a\x05\xd1I5\xbf>\x9f0Z'\xb5\xb6Q\xa6\xf6\x1c\xb2\xc7a\xf6\x02p\xeb\u05c8\xbc\r\x0fa\xa9~1\x93%\xd8E8X\x8c\x06\xb6;\xcf\xd7\xf7+/\xc6JkI)\xd06\xe9\xf39h\xb7\x86\x19\xe1\xea\f\v\xe2y\xe1\xebp\xca\xeaьx:\xc8y\xb6\xa7`\xc82\xa4ݣe\xfa6\xb4N\xf5[܉\u007f ]\xb4Ju0\xfcc\x91\xba\xec\xe1\x13&V\xa3UU\x03\xff\xa1\xf5\xb5\xb0=\x1fih\xbd-\b\x81\x17\xaf\xbb\v\xa4\xb8\xb9/\x1e\x8f\x11\xae\xfa\x84\x99\x90Sk0dYƧm$\x8fA\xf9\x11H\x93x\xc5\xf8O\xe9\x12\x1c\xef\xc2B!dPH\xd9_^\xa1\xeb\x90\n%\x1f\x19a\x02;dh\xdbl4!2\x1a\xedJ\xf7\x87F\xba$\xdf\xc175|Bm\xc0\xa2\xd0\xf8{\xc1\x0e\xe6Yc\xbe\x01\v~\xdfͣ\xda\xc7\xf3w\xac\xd2\xce\x0e\xaf\x8d\xf5\x9d\xfb$EY\x805\x11\xde\xf53\x1c\xab\xe2\xb6Ȓ\xb8\x99\x02y\xb8eL7\xe1\xa4?\x1d\x8b\x0f\x9aʁ!\xfbi/H\xc1\x10\xfc\xb1\xa0\x95+Q\x9e\xb7\xab6\x80\x89IH=*\xef\xea/#\xd7n\xaad\xd4\x16\xaa:\x01\xe1\xd3s\xd8\x0e;\xebU0vИ\x1f\xd8\x19m)[\xb2\xe6\xc2TPV*|\xa3\xc6E\x14o\xfb\"\xae\xf0\x82\bcK\xc0\x92\xd0\xe6o9h$\xffDx\xb9]%w\xef#\x85&\xd4Š@\x99\xa4^4\xae\xc3˘\xfc\xceR\xebH\xa3\x84\x0f\x9c\u007f\x9c\x91RFC\x85`\x19ϥM\b\x01DnCڴ\x9bn\xe1\xfa(\\߂jϜM\x0f\xa7k\xbd\x9b\xbc\xcao\xa8\x97R\xc5\xc5\xf0hf`L4\x06\xcci0\x97|QD\xe44\x82a\x9a,>\xf2\xe9\xf5I\x8b\xb8rְ\x124\xc0\xe2\xe7Q\xa7fk\xd2\x1d\u007f\xde\xeb\x90\x05\x85\x1dy\n\xd0\xca&ٍ\x16\xc35\xc7m\x89Kw\x1al\xddPi\xda\xe3WрGy\x99/\xcd1R\x8dO\x81c\xccq\x19\x86\xa0\xc3\x15\x97\x96%,0\x99K吚D\x82\xc0\x04\xd1\x1b@b\x85A\xaa\xc5\xda쀅-\x96\xc65\xed\a\x80\xcfiE\xad4\xabV5-˓6&a\x9f\xa7lѕ\x9d(\u05ff\a~\xc6\xc8e\xca0\x00\xe1\xa5V\x02\x13\xfd(V\xed\xa4\xfa\x80\xf9\xfd1\x83y\x9cJ\xb0?\x8d+*\xea¦.\xd6XYl\x85\x11\x99\xc6҂\xfc\xd2-\xdd\xd7p\xd1'\xa9\"\x868\x83\x9biU\x80\x03\xab!\x11\x8d\xfb\x13\x8b\xf2\x9f\xa0H\xe4\x9eat\x95迕Г\x90@!\xd1f\xb5\xf7\xdeѧ\\9\x05\xf5\xf6anЭ*\xdcNt\n\xf4\x01\xee\xcc5\xe8\x96,d\xab\x88V\xabp8\t1\xaf\xea\xdb\xf43\xd3-\x15Z\xeeu\x1a\x8f k\xf0\x8cA\v\x87\x92w\x1f\x87\xfc\xdd\x13\xe9\x83\xe1B\xc2\v\x9cy\xe8V\xb6\xedo\xbd9\x96H2~\xfb\xb0e\xf0\x88\xa6Y\x14b\xccK\x9b\xf4\xa4;\xa0\xf8\x0fD\xf9\xc7\u007fg\xa6r\xea\x15\xf6\xa1\xfb\xe3\x83\xf5\xbf\xa7&\xaf\x82;\x1fON\x9b\x06\x91v\x0e\xe6\r\xf6\x1eA+\x97\xbd\x05\xbe\xb4\xee\x953\xee|ێdp\xea0\xa9\x12P+l0 \xd9\xfds\xc5T)\xff3\x86U7)L\x15o\xbf\xd89\"\xc9}Lz\xef\xd7\x12\xa9\xf4P\xb6\xc5{\x103b\xea\xf4\x87\x1e\xa2\xf7\x1d\xdfޤ9\xb0)\x13\xbe㹄\x1c\xc8\xd5,\xb7\xd6\x16o\xec%\xe8\fЮ\x91\xeb\x93\x01my\xb3\xb6Qh\xc9\x16\xea\x86\xe9\xc5k\x95-\xec\x83\x0f\x80\xd0c\x1d\x8e&\x0f̺\xb5\xf9\vn\xd0\x1a;B\xcc\xea5\xe1\x9e\xe4k$Ӱ\xd3+\xb30\xcfC\x85\x05\xb3\xa2\x92i\xf6\xa0\x80\xf8\xfe\xd5w\x01׳\xbb\t\x13\xdcn\x89f\x81\xd2Ky\xb3\xe4\x83\xd6*\n\xa3.\xd5\xe3!\x88\x15\xd9MO4r:\vU\xe5p\x89`\n\xe9M\x02\xb8E\x93\x98\xa68\xb4\xc6\x13p\xa8QT\x9e\x89 \x80\xd4jK^5wʍ\x8d\xba|\xc86\x03\x80i\xb8L\v\xc4\xdeO\xc8\rg\xe3\x94k\x14_NU\xc7D%\xb3\"\xc6@%\xb7\xb9\xddw\x8as\xe1\abr\x90\x9b\xae\xb0q.q\x12\xb3\x03\xea\xc0\x15\x91I\x91\xdbZy\xaaU\xe5T\x94\xc4\xdeK\xa8\xdej\x14\xf5\xfd\xd3\b3GX\xdaK\xd6T\x92\xc4\xd1D\x1e\xcb/\xbdk'<\x8fM\x110\xa0֓-f\x10\xa59\xf4\x84\x10\x9ct\x930ph\x9f}\x184\xbe\xc0V\xe3jO\xde\b9\x84\a\xc5Z\x8f\xe9@'sS\x9d\xf5\xf8Dc\xfbD\xd9\v\xdf\xeb7\xaaR\xac\x90\xa8\xe9A݅\xc1\x16\xd1%d ]ջ\xb5#O\xcfR\xdfò\xd1\x03\x00\x95\xff\x1b\xb5\xf2\xa1\xae\xd6o\xef\xfe\x1b*µ\x8b[\x94(4\xbb\xfc\xce\x16hݱz\x9fQ\xf7\x19\x1a\x87\x13\xdf㔍\x02\x96\xf2˰\xb9\x13\xdf\r\xc1%b|\xa6k\xae\xe0ՠ)\x17\\C\x04\x19\x13\x8d\xb14\xfc\x1d\xeb\x04-gӵ\x18\xff\bi\xc8\x01\x87\x9b\xa1\x0e\x81\x1b\xe2(\xff}\x03::\xfa\u007f\xaaP\xacW\xb1\x83N\x9c\x14\xffnZ@\x0fB\x87\x14\xa5\xa0\xe3t;P\xefȓ\x9e\xea\x9c\xe7~P\x99\xf9\nm5Ji\xc4\xef\xdaт\xc0\x10\xdfk\x91\xc6\nTi\xc1謺\xab\xe8\xce\xd8\x0f\x80x\u007fN\xd3\x01ceE&?\xf1\x8c\xaaMN\x06L\xe8\xc2\x1f\r\xf4Z\x96,\x88\x1eX\x9a[\xbbRD\xdb\uf87b'H\xcdN\x16&\u007f\xe2Ƒ\xea|q\xfaXT\x1f\x89\xb6ÁBǨ6\x16mr\xf7\u007f>\x0f\xfc\xcall\xfe\aW\xd8\xdb\x13\xc0`\xb8\xe1Vw\x82\xff^\xf3\x81\x80}\xba\xeagI\xbeFc\xb7s\xb9S\xac\x9a\x02\xbd\xd4ߨ&*\xa3\xf6\xc1EN\xf0G.-c\xa9A.\xe2A\x9b \x8d\x98^\x15\xbfL\x19\xf8\x87\x9f\x84\xf6R\xcdÜ\xe3\aF'\xb6\x01M\x8f\xa3^\xe6\x98\xdd\xf2/T^\bL\\\xebs\xfcc\xac\x8a%\xd2<\xb2:\xa0(4%\x86UC4%\x00^g\x95\u007f\x95\xb7貝\xf0{\x063%=\xfe¹\xeeB\xba\b\u0084\xa1\x1d\x12|\xa7\xa8h\xa3\x86\xe7\xbcc\xc3\xea\x93.\x89XX\xa8\v/y\xe8\xafp\x139.4\xe1R6I\xa6\x03p \x00\x10\x81;]>\x8e\xff\xc8G\v\x86\xba\x88n)J{\x96r\x1a#\xa0k5T\x98\xec\xe6a$\xb5\t\xb084\x8aQ`X\x83\xd0:\x9a\xf3\xec&1do\xfc\xb5\xb4x/-\xfaW`,;\xd2+\x93\xd9i\x13\xe6K\x90\xb6C\xa1\xa3\xac\x8dx\xc0\v\xa8\xb9\x0e\xb0#\x18\xc9\xc9$\xb5\xa0\xdc\na\xe4\x1f\n\x97\xa72\x03H\x98\xe6P=\x98@\xa7\x8f\x98UK\x8c\xcb\xf4{\x9f\xd6Qpi\xb82\xbe\u007f\xcf9\xf8\x891\xe5_\\\xcd\x12\x95\x94^\xb8U\xfcη\xa1$QS\xb1r\xc1rւ\xa6&a\xf3̺Y(\xaa\xb6P\x18\xee\x80\xcc[^ą\xdf\\\xe3J\xe8\"q0t\xa5E\xf2\xc1$r\x10?\x8fk\xe6\na\xa4\xef\xfa\xf4$\x9aZ?\x9am\"\x19\x81\x18\xc84-Fq\xd8\xc4\x18\xc4p\xe4\x82{o(\x1a\x81w\xd2\f\x1f\xee\x1e\\\x8f\xae4Qn#\x19\xd1\xee8&\xe6!\xf5l\xd0t\vaR\xab#\xfeO\xe2ף\xb6\xb8\xf3\xb7th\xcd}\\ \xc1\u007fL\x8d\x88\a\xfe\xf8\x8e\x90>c\xf1O\x05(oe8\x88 OV\xf9F\xa0\xe1\xa0P\x05\xc3.9\xb5\xb5z\x9f\x03\xf2\xdd\xf9\xa15'\xbf\x80\x899\xacǔ\xe1ӛ\xb0\x04}\xb5\x98\xd9%\xf6\xf4K2\xd5[\xba^.\x14\xacߠz\vr-]\x0fp\u007fu\x19\x0el\xa8\xa35\x8f\x04<\xdfL\f\xe2k\x00%a\xbf\xff>\x9c:\xe5:\xf8\xb3\xc5Eҟ\x8a6m\xf6X\xc0\r\xf6\xa3b\xe7&\x9a\x12ۑ|K\x90\x8e\xd16\x84\x90\xe8\xbf\x1c\xacy\xd9)\x92\xb6\x83I\xda%'7Ӣ\xc7\xc5\xc6\xcaC=*\xd6\x04\xfe\xb6\xc0\x99\x98\x8f\n\x9b\xe9\xa0G\xb4\xe1\x8b\xe3\x94;\xbcX\xde\xe0\xb63\x1b\x12\xb6\xe5m\x89{~'5\xc9F\xd6]\x93\x9e d:\x87\xa3\xe5\xd2\xe6\x11\xa1\x96\x98\t\x0f\xcaY+Ikw\xcf\x1d\xa9\xcaqr\xca~\u007f[Z\xcf\xdaf\xf5\x15\xc3\r\xb9\xbcmy\xdf\xf2\x91&\x1b,\xf6\xde:\x113\xa4v>Zw~\xfc\xd2v\xc1O\x1a\x1aV\x88\xa3-\b\x038S\x87\x8e\x1f\x19\x80\x0e\xec\x01m\xd7\xe4p\xe8C\xf0(\x9e\xddfњ@\xcc\vwx\xfb\x98\x9f\x04\xd4\x00Od\xb8HX\xdf\xe6\xd3S\ag\xd7[I\xd3+O\xde\xd6\\{\xb6\x99\x99\xd5)\xa6\x1eN\xb0j\x0e\xf5+\xb7\xfdG\x81'\xa4\x03\x9f\xca1\x9a\xb6\xc7\xc1\xb6>\xa4\xa6\xd7Y}L\fǟ\xa8\x0e_P\xdb\x1b\x10͏\xe1U\xebS\xbe\xb5R\xb2\xc1\xc7\x1a\xf4\xab=ŕٞ\x92\x96\xf9xU3\x9bY\xeaI}\u007fGk\xef\x97\xc0c\xde\xf2-\xdea\xfc\xb7f\xee\xc2\xdfRG\x10zQ\x1d\xa0A\xecv_\x8b4\x1d\\\x11g\x84\x83\xd6\xfe\xae\x1fq\f\xdf\x0f\x96h\x0fd\u05f7\x04\xcdW\x89\x9f\xec\xea\xf2\x05܄O\xbd㘤\x88\xb6\xebEC3(\u007f\x03Zx87Ϣ\xf0M\x1aߌ\x9f\xfeRӊ\vFB\xc1\x80(&\n\xd1Hx\x81\xfa\x18\"\xe2\xa4\xdc)\xae\x1b\xb8\x98-\xaa\xf4\x11\x8cZ\xa6\x11\x8f)vÄ\xd7$\xaa\x8bM\xf0W\xae\xf8t\xe1\xacPL\xda@\xa7\xb6\x8ft\xf6^\xa1\xa1K.&\x8em\x1aZ\xb6\xc8\x04F\ue29a\xdb`\xa4\x92b\x13\xdc\xf4[\x8aP\x81\x96\"\x18a\xb0\xe6M\xaf\xa2\x8eޖ\x18o\\C\x14\a\xa2aE\xe6\x13\x9c·fl\xb3\x9b/\x9b\xce\\\xeb\x95\xf8$\u061dY\f\xce\xf3\xd4>\x9fF\xab\xb4\xde[\x1bu\x95O\xc0\xde\xd4\x02\xc5M=1ZNw\xa2(\f\xf3\xfb\x9d̶\x85:Θ\x0f\x8e\x91~\xc6\n\xe3<,\xd1O;m\x87\xc4Y\xfd)G\xa6\xdcP\xe88\xcbC\xe33Y\xae#W\x1au\xb4w$\xfcg*\x91\xfb\x93IKH\xae'\x9a\xabQw&rF\xbeS\xe63\x12\x8e'$\xc1\x90\b\a0\xec\xfa~\x83\x12ROn\xb4\xbc_$x1\xb3\x1dRȹ$4>p\x14\xbb\xd4Y]8&\xfd35\xc0\xfd[\x85\u007f\x13-\xde\x1cA\xdd(2q\xb1\xdez\x0er\xb4x\xab\xa5\\\x83Ă\xbf=\xab'\xfbk\x1b\xa3\xd6\xfe\u0558\xa0Ԑ\xfbP/s'_\xfarV\x91\xf8\x94\xb2`\x9fRyA)\xe5\ra+\x9b\xb4\x97\x1d\x80\xd4\x1bf\xa8J}]\xeb?t\x88\x8a\xd0\t\xa4\xd8[\xab(v\xb1M\rf\x8a>\xaa\xf0sDV%~\xa0\xe4\x84~p\xee\x94?\xd4X:T͍\xb0\xdd\xc1\xc1w#\xca7\"\xb3\xc20բ_2\xeb\xe4\x14\x8f\vs\x9b\x841\xad4\xcdѺ\x9b\f\xce\x17\xf20\x8d\x85KW3\x98);=\x1f\xd4\xe4\x14\xf8FҔH;\x1f\x8c\xbd\x18\xd8V\xae\x05f\xff\x8e߇\xda\x11\xc2ap\x861\x02\x1a\x9bb,\x80+\xaaj\xcc\x03B\xd3\\_X\xe6/G\x8f\x98s\x8e\x11B\x9a+\xd6\f\xbc@\xb4\x06\rߨ\x91\u007fF\xbc\x9fJY\xbc\x83|U\v\xc5U\x8a\x05\x9c\x80\xde\xf8\xae \xe3\xeb,\xe5\xee\x06\x1a\x0e\xe8\xbd/.M\x05$\x84\xbe:\x9d\x10\xf8\x05\x9c\v\xee\xaa\xf0\xc8Py\xbbfO\x85&--\x12\xbc\xf4\xee\xde]\x1cs1=P\x1a\x05~\xc8Կ\xcf\xd6\xdf\x1e\xc5\x19\x9f\xb5\x9d\xbc\x16:\xe6vK\xf0\xd2#Am\xe3\xd3u\xed\u0094\xdcϢă]\x14Ҥ\xf4\xad)-\xae\xb0Y{\xd1\xf8\xaf\xa3\x03\xc3w\x14\xd5O\xccE\xe1\xfb\x9ck\xe6\x8b\t4Ϩ\xce\xd3ʺ\x89\x95\xef\xef\x15^\x10\x8a/\xc9)\x80\xed\xa6ea\xac\xee\xb9,Q<\xb1\f\xa4\xb4\x81Aޮ\xf1\x93\xbb\xd7>\xbe\xfe\x0e\xba\xd3t\xbf\b\xa82㶾\x8e=z\x04\xb9\x1a\xd4{\xe0\xe2\xbb'媨kyr\\\xab9\xf4\xd0\x1dh|\xdfi\x9e\x00a\xa4\x99\x90\x1c\x0e\xcd\xcby}a\x96\xa3\xa4$`\x91\xf3\x10̯Ǡ\x05\x8c;^\xce\xfb5\xad\xc0V0\xdaƸ,\xfa\v\xd4ge\xff\x0e\xf4\xf1\x81Z\xef'2-R\x81\xdc)Ac\xcd\xcc\xe5#\xc4\xc5\xc3\f8\xce\xd6}\xa5\x84l\xb6\x8f\x85\xc7\xf9\x9a\xba\xa77\xad\xa7\x17H\x1c\xe6\u05eeI\xb2\x1c\x01\x13HV\t\xfc\xbd\x92`q\br\x01\xe3g\x9f9[\xd7\xffh\xfb\xfbr\xdf0L\x14K\xb1\xc6\xe0\x85.\xf1\xa0\xc3*>\xf8-ڜa>-\xd3\x1c\x82\xa5Z\xde\xc5a\xfe;Z\xa0ԕ\xf3\"^zH\xcbg\xfd\xad\xaa\xcdQ\xfa1ɶof \xfa\xe2\xe8\xc6\x19\\.\x0f\xc1=\x1e\xdbC;\x9cǦ\xe1\x83\xdf\am\xafQ\xe4Vc\xbc\xb3$\xc8X90\xea\x86Ƀi&f\x94.\x9b\xf9\xe0y\xbd0\x1f3u\xd4\x04\x96k\xa5Ȯ(s\x1b\xa3\xea>#\x05\xd0\x1d\x99\xde\x05K\x06j\xd8\x14\xe2\xc8T\xe8\xf1\xb8\xd7\xcd\\ۆa\n\xff4\xa8&k`\x9d\xd2\xd3<ϔ\xf3пӗ═\x97\x89\xe0\x0f`\x93{\x16\x82\xbat\xc60\xb6\xa6&q\xbe\xde3ܚK\x9a\xda\xffs\xc2do\xe16/Y6\x0f\x8aw\x1d2\xa3$\vT?\x13\xbb\x84\xf7!\xe5n\xa48\xb2t\xb9#\xe1\x8c\x13\x9d\v\xcc4\x05\x19\xa5&\xa7\x02\xe2\xf9n@\x13\x17KtI\x19\xad\x1f\ah\xf1\xcb^\xaa\xce]\xf4_\x9b\x97\\\x8f\xa3\xc1\r\xcd\x01%\xab\xb5\xe4\xd7\xf5X\xbfRg\x93A\x92|+\x1a'\xc5\x1fȔ\xd5p\xb8\xb2\xb18\x1b\xa3\xb6\x13\xc0\xfb&\x05\xeb\x8f\xf3p\x89ڡ\xf8\x06\x13v\xec\"\xa3\xc0\xe1\xcba\xb8d\xe6,\x86\r\xf7\"\xf1\x9fR\xa2\xact]\xc6\xf2\\zL\x9f*p\xfa\xb1\x0e\xff뺗\t\xe2\n\x13\xaf\a\n\xd0Jm\x8a\xd0\xf4\xb0\xf1\xaa#\x1b\xedOjJ\x0f\xa1\xf8z\xa7#5\xaf\a\xd1T\x9d\x9cVU1P\x04XY\x12\x9f\xf8-̌\xa7i\x8b\ru/\xadی\xef\xed\x9d\x14r\xeb\x94D\xb7Ta\x8d\x92\x11\xd0[m.\x9b\xb9\x9ed\xedx\x01t\x86XL\x99\x18x\xb0\xbf\xc0\f%\xb1\xdf\xd7K\x11\xddld\x95T%\xf39\xcf\x19Λ\xff`\xd8\xcf7T\xfe\x02^c\x1a(\x1e\t\xb6\xdb\xc6Q\xc4LXsL\x8em\xe0\xfbs\xa8\xb4\x04\xef\x1b\xbaF7\x81؇s\"\xf4\xef\x8a])\xa8\x04\xab\xb0OZV;\xacGeu~\x83\xefrN\xb2n̥\x8dD\x8f_;%\x03Տ\x80Y֓\xad\xf5m\xf9`eȝB5\x05\x17\xd4\x1b\xa5WKP+#a\xff\xd6\x19\x16\xc9\xf0\xe8Ge\x99\xa6\xaf\x9f\x15)\xf51R\xbb\xa9\xd8fz)|\xc0\xc0-\xb7B\x14\xdd\xfd\x83\xc3ao\xff\xee\xfb\xf7\xb0\x17B\x8e\xbbR\x18\xcd\xc06\xb2<.\xae\x96\xa7̞_\x05\x9a\xb1\x97\xff\x13\xbfc\x812{\x8a٭\x1c\x91\xbb\xb3#\xb7\x97zimc\x93\x06\xc7B\x9bG\xe2\x9drR.\x11\xb2\x11\x9e76sax\x96\x1a\xebUf\xc1\x85\x97\xb9uq\x04$M3\xff\xa3:\x01,4\x1e\x816\xb2\x8aӉ\x03`\x9dsyN.J\x9d\x93\x01`)\xa1\xf9\xd0秄\xb8\xeb\x13\x1enj%}-Үq\xd2\xf8N}\b\xc8\x17\"\xa8\xa0A\xec\x82\xc1\xe4\x17|\x1c\xa7\v֭E\xfd\x95\x0e\xc7\xcd\x04\xc3\x17\xf4\xa8\x1d\x98\xfe1\xb9\x82\xd5'<2E\xae\xbd\xaf\xc7\x10+kn\x9c\xd99!\xb0\xdfB\x9e]\x89\xc2WS\x9c\xf8\x19\xabv\x8b\x9cQr\x17!\xb7\xf5m\xa8V[\xf7 Jf\x8a_k\x8b\x80\xb8\x1c[\x9bk\xd2)=\xbf\xf5\xf9\x00ۺg\x18\xae\x9ajO\xf8\x1bz\x9d6/:B\xd4Ak`<\xfe\xde:\x04\r\x02\x8c\x0fЈ(\xfb\xa01\xbc\xa1\xa0>\xdd=u\xbb\x93\x8d\xdf\u007f\x84U+(\xbf_x\xd5}\xdeb\xff\xf4Y\xdf\x19\xa4Y\x94\xda\x1b\xcd\tU)\xbe\xf2C\xb2!͆s\xfe$\x9bs\x88\x8e\x8e\xefV\xbdVӐ(Wi1\x8f\n\x96#\x9b\xd7l]\xb5>\xe6waw\x13\xefZؗ(Y\xe3\xe9D\xe8W,\x04V\xad\xfdJv1.\xde\xf9\x97\xebB\xf29E\x06\x9b\x05\x1e\x16'\xc6=y\xdb\xce\x14\x86jɉ\xbd\x91 \x8e15\x04p\xa3'\x1c\fL%\xba\xc1\b\x8dI{\x1d\xee)\xfer\xcd\"\x1db\xab\x12\xa9\xd5\rއ\xddG\x95\xdf\x02r9\xe8\x92\xee@\xb9\xc7&I\xb7\x0e\xec\xba.\xb6\xff\x8fң\xad`\xdb\f\xbb\xdfj\x19Fӯ\xfc)za\x91f|\x12\x98\xed\aR\xc4\x18\xee\xa0sAy\x02鶃[\xdeF\xf3\xf8)6\x83`\x02MF\x8f\xf9:\xc9K\xb2\vA\x8c\x1dU\x992\x17\xcdx\xbew\xe6b1M\x03){\x04\xbb\x98\x9f\x82\x95!>\x82\x9a^\U0006dc88\x1d\xbep\x87:\xae\xc8\x13\x8cA\x88}hA\xa6k\xcc\xe6JF\n---------- end of script output" +time="2025-02-08T06:05:54Z" level=info msg="statescript: ArtifactInstall_Enter_66 requested a retry" +time="2025-02-08T06:05:57Z" level=info msg="statescript: ArtifactInstall_Enter_66 requested a retry" +time="2025-02-08T06:05:59Z" level=error msg="statescript: Ignoring error executing 'ArtifactInstall_Enter_66': 21: exit status 21" +time="2025-02-08T06:06:00Z" level=info msg="statescript: ArtifactInstall_Enter_67 requested a retry" +time="2025-02-08T06:06:02Z" level=error msg="statescript: Got an error when trying to execute [ArtifactInstall:Enter] script, but ignoreError is set to true, so continuing. Full error message: statescript: The version read from the version file in the statescript directory does not match the versions supported by the client, please make sure the file is present and formatted correctly (supported: [-1]; actual: 2)." +--- PASS: TestExecutor (10.04s) === RUN TestVersion --- PASS: TestVersion (0.00s) === RUN TestReportScriptStatus -time="2024-01-06T23:36:40Z" level=error msg="Failed to Load the Server certificate. Err SSL errors: " -time="2024-01-06T23:36:40Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: " -time="2024-01-06T23:36:40Z" level=warning msg="certificate verification skipped.." ---- PASS: TestReportScriptStatus (0.28s) +time="2025-02-08T06:06:02Z" level=error msg="Failed to Load the Server certificate. Err SSL errors: " +time="2025-02-08T06:06:02Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: " +time="2025-02-08T06:06:02Z" level=warning msg="certificate verification skipped.." +--- PASS: TestReportScriptStatus (0.14s) === RUN TestDefaultConfiguration -time="2024-01-06T23:36:40Z" level=warning msg="No timeout interval set for the retry-scripts. Falling back to default: 1m0s" -time="2024-01-06T23:36:40Z" level=warning msg="No total time set for the retry-scripts' timeslot. Falling back to default: 30m0s" +time="2025-02-08T06:06:02Z" level=warning msg="No timeout interval set for the retry-scripts. Falling back to default: 1m0s" +time="2025-02-08T06:06:02Z" 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 @@ -16503,23 +16536,23 @@ statescript_test.go:475: incorrect version file - unwanted 'a' in file --- PASS: TestReadVersion (0.00s) PASS -ok github.com/mendersoftware/mender/statescript 11.051s +ok github.com/mendersoftware/mender/statescript 10.199s === RUN TestDBStore -time="2024-01-06T23:36:28Z" level=error msg="Failed to open DB environment: mdb_env_open: no such file or directory" ---- PASS: TestDBStore (0.01s) +time="2025-02-08T06:05:52Z" level=error msg="Failed to open DB environment: mdb_env_open: no such file or directory" +--- PASS: TestDBStore (0.00s) === RUN TestDirStore --- PASS: TestDirStore (0.00s) === RUN TestKeystore -time="2024-01-06T23:36:28Z" level=error msg="Failed to load key: empty pem block" ---- PASS: TestKeystore (2.05s) +time="2025-02-08T06:05:52Z" level=error msg="Failed to load key: empty pem block" +--- PASS: TestKeystore (0.60s) === RUN TestSignED25519 ---- PASS: TestSignED25519 (0.01s) +--- PASS: TestSignED25519 (0.00s) === RUN TestKeystoreLoadPem --- PASS: TestKeystoreLoadPem (0.00s) === RUN TestMemStore --- PASS: TestMemStore (0.00s) PASS -ok github.com/mendersoftware/mender/store 2.164s +ok github.com/mendersoftware/mender/store 0.614s === RUN TestGetMountInfoFromDeviceID === RUN TestGetMountInfoFromDeviceID/Success === RUN TestGetMountInfoFromDeviceID/Fail_-_open_returns_error @@ -16535,7 +16568,7 @@ === RUN TestFreezeFs --- PASS: TestFreezeFs (0.00s) PASS -ok github.com/mendersoftware/mender/system 0.040s +ok github.com/mendersoftware/mender/system 0.009s ? github.com/mendersoftware/mender/system/testing [no test files] ? github.com/mendersoftware/mender/tests [no test files] === RUN TestKeyValParser @@ -16546,9 +16579,9 @@ === RUN TestLimitedWriteCloser --- PASS: TestLimitedWriteCloser (0.00s) === RUN TestProgress ---- PASS: TestProgress (0.62s) +--- PASS: TestProgress (0.49s) PASS -ok github.com/mendersoftware/mender/utils 0.667s +ok github.com/mendersoftware/mender/utils 0.496s FAIL dh_auto_test: error: cd obj-aarch64-linux-gnu && go test -vet=off -v -p 12 github.com/mendersoftware/mender github.com/mendersoftware/mender/app github.com/mendersoftware/mender/cli github.com/mendersoftware/mender/client github.com/mendersoftware/mender/client/test github.com/mendersoftware/mender/conf github.com/mendersoftware/mender/datastore github.com/mendersoftware/mender/device github.com/mendersoftware/mender/installer github.com/mendersoftware/mender/inventory github.com/mendersoftware/mender/log/syslog github.com/mendersoftware/mender/statescript github.com/mendersoftware/mender/store github.com/mendersoftware/mender/system github.com/mendersoftware/mender/system/testing github.com/mendersoftware/mender/tests github.com/mendersoftware/mender/utils returned exit code 1 make[1]: Leaving directory '/build/reproducible-path/mender-client-2.4.1' @@ -16586,8 +16619,8 @@ dh_gencontrol -O--buildsystem=golang dh_md5sums -O--buildsystem=golang dh_builddeb -O--buildsystem=golang -dpkg-deb: building package 'mender-client' in '../mender-client_2.4.1-2_arm64.deb'. dpkg-deb: building package 'mender-client-dbgsym' in '../mender-client-dbgsym_2.4.1-2_arm64.deb'. +dpkg-deb: building package 'mender-client' in '../mender-client_2.4.1-2_arm64.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../mender-client_2.4.1-2_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -16595,12 +16628,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/1733530/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1733530/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/3201384 and its subdirectories -I: Current time: Sat Jan 6 11:40:54 -12 2024 -I: pbuilder-time-stamp: 1704584454 +I: removing directory /srv/workspace/pbuilder/1733530 and its subdirectories +I: Current time: Sat Feb 8 20:09:35 +14 2025 +I: pbuilder-time-stamp: 1738994975